nova-web/README.md

30 lines
975 B
Markdown
Raw Permalink Normal View History

2023-06-19 17:52:26 +02:00
# nova-web
2023-07-23 03:49:37 +02:00
🌐 [Website](https://nova-oss.com) of project Nova.
2023-10-12 00:07:30 +02:00
## Set up your `.env` file
```bash
CORE_API_URL="Used for accessing the database from nova-api. Usually, it's http://localhost:2333 (and :2332 for testing)."
CORE_API_KEY="The CORE_API_KEY set in the .env of nova-api."
CONTACT_EMAIL="The E-Mail address displayed on the website. Used for accessing databases."
TOS_VERIFICATION_KEY="Generate a password without special symbols and put it in here. Used in nova-cord."
DISCORD_CLIENT_ID="For 'auth using Discord' in the account dashboard. Get this from the Discord developer portal"
DISCORD_CLIENT_SECRET="For 'auth using Discord' in the account dashboard. Get this from the Discord developer portal"
FLASK_SECRET_KEY="Generate a password without special symbols and put it in here. It is used to encrypt the session cookie etc."
```
## Running
### Production
```bash
sh screen.sh
````
or
```bash
python web
```
### Development
```bash
python web/app.py
````