mirror of
https://github.com/NovaOSS/nova-web.git
synced 2024-11-25 16:23:58 +01:00
30 lines
975 B
Markdown
30 lines
975 B
Markdown
# nova-web
|
|
🌐 [Website](https://nova-oss.com) of project Nova.
|
|
|
|
## 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
|
|
````
|