Skip to content

Commit 7f76a48

Browse files
committed
improve indy scaffold doc
1 parent 4d12de8 commit 7f76a48

File tree

1 file changed

+16
-0
lines changed
  • scaffolding-with-fano-cli/creating-project

1 file changed

+16
-0
lines changed

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

+16
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,22 @@ See [Deploy as standalone web server](/deployment/standalone-web-server) for inf
121121

122122
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.
123123

124+
Make sure you set `INDY_DIR` environment variable to point to where Indy directory installation before compilation.
125+
126+
```
127+
$ export INDY_DIR="/path/to/indy"
128+
```
129+
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
130+
131+
```
132+
$ export INDY_DIR="/path/to/indy"
133+
```
134+
and not
135+
136+
```
137+
$ export INDY_DIR="/path/to/indy/"
138+
```
139+
124140
When you use Indy, you must aware of [Indy memory leak issue](/known-issues#indy-memory-leak-issue).
125141

126142
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.

0 commit comments

Comments
 (0)