mirror of
https://github.com/lxsang/antd-cgi-plugin
synced 2024-12-26 18:08:21 +01:00
gen dist
This commit is contained in:
parent
2761f91582
commit
4ed204f10e
12
README.md
12
README.md
@ -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
BIN
dist/cgi-1.0.0b.tar.gz
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user