kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Docs: Clarify example of using environment variables for port number
rodzic
f4fd5e76f8
commit
633208958c
|
@ -34,8 +34,9 @@ The username and password can be specified as empty strings if you need to set t
|
|||
--server 8080 $:/core/save/all text/plain text/html "" "" 192.168.0.245
|
||||
```
|
||||
|
||||
To run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port. It can be useful to use an environment variable to set the port. This examples listens on the port number specified in the environment variable "PORT":
|
||||
To run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port. It can be useful to use an environment variable to pass the port number to the Node.js process. This example references an environment variable called "MY_PORT_NUMBER":
|
||||
|
||||
|
||||
```
|
||||
--server PORT
|
||||
--server MY_PORT_NUMBER $:/core/save/all text/plain text/html MyUserName passw0rd
|
||||
```
|
||||
|
|
Ładowanie…
Reference in New Issue