1
0
mirror of https://github.com/lxsang/antd-tunnel-plugin synced 2024-07-01 13:09:46 +02:00
antd-tunnel-plugin/README.md

39 lines
868 B
Markdown
Raw Normal View History

2021-01-31 18:14:43 +01:00
# antd-tunnel-plugin
**tunnel** is an [antd plugin](https://github.com/lxsang/ant-http) providing a generic purpose publish/subscribe message protocol using a single websocket connection.
2020-08-02 18:49:03 +02:00
## Build from source
2021-01-31 18:14:43 +01:00
As **tunnel** is an **Antd's** plugin, the server must be pre-installed
2020-08-02 18:49:03 +02:00
### build dep
* git
* make
* build-essential
2021-01-31 18:14:43 +01:00
* ant-http (libantd.so)
2020-08-02 18:49:03 +02:00
### build
When all dependencies are installed, the build can be done with a few single command lines:
```bash
2021-01-31 18:14:43 +01:00
mkdir tunnel
cd tunnel
2020-08-02 18:49:03 +02:00
# replace x.x.x by a version number
2021-01-31 18:14:43 +01:00
wget -O- https://get.iohub.dev/antd_plugin | bash -s "tunnel-x.x.x"
2020-08-02 18:49:03 +02:00
# or install from a tarball distribution in dist/
2021-01-31 18:14:43 +01:00
tar xvzf tunnel-x.x.x.tar.gz
cd tunnel-x.x.x
2020-08-02 18:49:03 +02:00
./configure --prefix=/opt/www --enable-debug=yes
make
sudo make install
```
### Generate distribution
```sh
libtoolize
aclocal
autoconf
automake --add-missing
make distcheck
2021-01-31 18:14:43 +01:00
```