1
0
mirror of https://github.com/lxsang/antd-cgi-plugin synced 2024-12-27 10:28:22 +01:00
This commit is contained in:
lxsang 2019-11-13 17:08:19 +01:00
parent 2761f91582
commit 4ed204f10e
2 changed files with 9 additions and 3 deletions

View File

@ -2,8 +2,7 @@
CGI interface support for [Antd server](https://github.com/lxsang/ant-http) CGI interface support for [Antd server](https://github.com/lxsang/ant-http)
## Build from source ## Build from source
As **cgi** is an **Antd's** plugin, it need to be built along with the server. This require the following application/libraries to be pre installed: As **cgi** is an **Antd's** plugin, The server must be pre-installed
### build dep ### build dep
* git * git
* make * make
@ -20,6 +19,13 @@ When all dependencies are installed, the build can be done with a few single com
mkdir antd mkdir antd
cd antd cd antd
wget -O- https://get.bitdojo.dev/antd_plugin | bash -s "cgi" wget -O- https://get.bitdojo.dev/antd_plugin | bash -s "cgi"
# or from the tarball distribution in dist/
tar xvzf cgi-x.x.x.tar.gz
cd cgi-x.x.x
./configure --prefix=/opt/www --enable-debug=yes
make
sudo make install
``` ```
The script will ask you for a place to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config. The script will ask you for a place to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config.
@ -61,7 +67,7 @@ To run Antd server with the **cgi** plugin:
**php** Web applications can be put on **/path/to/your/build/htdocs** **php** Web applications can be put on **/path/to/your/build/htdocs**
### Generte distribution ### Generate distribution
```sh ```sh
libtoolize libtoolize
aclocal aclocal

BIN
dist/cgi-1.0.0b.tar.gz vendored

Binary file not shown.