From a911f6ef8883802d8cbb8be23ca99713d4340306 Mon Sep 17 00:00:00 2001 From: Titouan Vervack Date: Fri, 9 Mar 2018 01:02:35 +0100 Subject: [PATCH] Update install instructions --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b277398..15b44b5 100644 --- a/README.md +++ b/README.md @@ -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`