Update install instructions

This commit is contained in:
Titouan Vervack 2018-03-09 01:02:35 +01:00
parent 2e3ef91ec3
commit a911f6ef88

View file

@ -8,9 +8,10 @@ Be lazier today!
Local hosting steps
===================
0. This is a Python 3 project so make sure to use python 3 and pip3 everywhere
1. Run `pip install -r requirements.txt`
2. Copy `config.example.py` to `config.py` and fill in random values for the `ZEUS_KEY` and `ZEUS_SECRET`
2. Copy `config.example.py` to `config.py` and find out some valid values for `ZEUS_KEY` and `ZEUS_SECRET` (try asking an admin)
3. Copy the python files from `database/` to `app/` (yes, it's sad, I know)
4. Run `python database.py` in `app/`
5. Run `rm -f add_admins.pyc? add_oceans_garden.pyc? add_simpizza.pyc? create_database.pyc?` in `app/`
4. Run `python database.py` in `app/` (if you want to fill the DB with sample data be sure to answer `Y` to `Do you still want to add something?`)
5. Run `rm -f add_admins.py* add_oceans_garden.py* add_simpizza.py* create_database.py*` in `app/`
6. Run `python haldis.py runserver`