Skip to content

Commit

Permalink
improve indy scaffold doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zamronypj committed Jan 3, 2022
1 parent 4d12de8 commit 7f76a48
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions scaffolding-with-fano-cli/creating-project/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,22 @@ See [Deploy as standalone web server](/deployment/standalone-web-server) for inf

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.

Make sure you set `INDY_DIR` environment variable to point to where Indy directory installation before compilation.

```
$ export INDY_DIR="/path/to/indy"
```
or you can set it in `.env` file which will be loaded when you run build script. Please not that you should not add trailing slash, so use

```
$ export INDY_DIR="/path/to/indy"
```
and not

```
$ export INDY_DIR="/path/to/indy/"
```

When you use Indy, you must aware of [Indy memory leak issue](/known-issues#indy-memory-leak-issue).

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.
Expand Down

0 comments on commit 7f76a48

Please sign in to comment.