mirror of https://github.com/PiyushXCoder/lupt.git
Updated README.md
This commit is contained in:
parent
24b53d0a96
commit
2f36ab7f3d
|
|
@ -4,16 +4,18 @@
|
||||||
Chat app to talk in group or to strangers
|
Chat app to talk in group or to strangers
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
Export SALT as environment variable to use as salt for hashing, and TENOR_API_KEY for gifs support in the server.
|
Create a `config.json` file for configuring the server with all the required options like `salt` and `tenor_api` etc.
|
||||||
|
An example config file `config.json.example` has been provided with all currently supported options, one can copy the example file as `config.json`
|
||||||
|
and put appropriate values for the given options to get the config file ready for use.
|
||||||
|
|
||||||
```
|
```
|
||||||
SALT="<salt>" TENOR_API_KEY="API-KEY" lupt --bind_address <interface address>:<port> --static_path <static files dir>
|
lupt -a <interface address> -p <port> -s <static files dir> -c <config.json path>
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
SALT="sometext" TENOR_API_KEY="API-KEY" lupt --bind_address 0.0.0.0:8080 --static_path ./static
|
lupt -a 0.0.0.0 -p 8080 -s ./static -c config.json
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue