Skip to content

Commit 7963c1b

Browse files
committed
add documentation on how to scaffold http application using Indy
1 parent 3e7c2b4 commit 7963c1b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

scaffolding-with-fano-cli/creating-project/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ To create http web application that use Free Pascal built-in http server,`TFpHtt
117117

118118
See [Deploy as standalone web server](/deployment/standalone-web-server) for information on how to setup http application to work as a standalone web server or run behind various reverse proxy web server.
119119

120+
## <a name="scaffolding-http-indy-project"></a>Scaffolding http project with Indy
121+
122+
To create http web application that use Indy http server,`TIdHttpServer` class, use `--project-indy` parameter. Other parameters are similar to SCGI, FastCGI or uwsgi project above.
123+
124+
See [Deploy as standalone web server](/deployment/standalone-web-server) for information on how to setup http application to work as a standalone web server or run behind various reverse proxy web server.
125+
120126
## <a name="use-fano-framework-specific-release-version"></a>Use Fano Framework specific release version
121127

122128
By default, when you use any `--project-*` option, it will use latest commit of `master` branch of Fano Framework repository. To use Fano Framework specific release version when creating project, add `--fano-ver=[VER]` option, `[VER]` is string that contains specific release tag to use. For example, to use Fano Framework version 1.0.0, run following command.

scaffolding-with-fano-cli/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $ fanocli --task=project-scgi
6666

6767
## <a name="creating-project"></a>Creating Web Application Project
6868

69-
Fano CLI provides several commands for scaffolding Fano Framework web application easily, such as, `--project-cgi`, `--project-fcgi`, `--project-fcgid`, `--project-scgi`, `--project-uwsgi`, `--project-mhd` and `--project-http` which is to create web application project supporting CGI, FastCGI, SCGI and uwsgi, http protocol. Currently http implementation is using [libmicrohttpd](https://www.gnu.org/software/libmicrohttpd/) library or Free Pascal built-in `TFpHttpServer` class.
69+
Fano CLI provides several commands for scaffolding Fano Framework web application easily, such as, `--project-cgi`, `--project-fcgi`, `--project-fcgid`, `--project-scgi`, `--project-uwsgi`, `--project-mhd`, `--project-indy` and `--project-http` which is to create web application project supporting CGI, FastCGI, SCGI and uwsgi, http protocol. Currently http implementation is using [libmicrohttpd](https://www.gnu.org/software/libmicrohttpd/) library, [Indy](https://indyprojects.org) or Free Pascal built-in `TFpHttpServer` class.
7070

7171
```
7272
$ fanocli --project-cgi=[project-name]

0 commit comments

Comments
 (0)