haldis/README.md

18 lines
940 B
Markdown
Raw Normal View History

Haldis
2015-03-31 20:15:22 +02:00
=======
Haldis is your friendly neighbourhood servant. He exists so lazy fucks like you and me don't need to keep tabs of who is ordering what from where.
2015-03-31 20:15:22 +02:00
Start an order and let people add items with a simple mouse-click!
No more calculating prices and making lists!
Be lazier today!
2018-03-08 23:23:02 +01:00
Local hosting steps
===================
2018-03-09 01:02:35 +01:00
0. This is a Python 3 project so make sure to use python 3 and pip3 everywhere
2018-03-08 23:23:02 +01:00
1. Run `pip install -r requirements.txt`
2018-03-09 01:02:35 +01:00
2. Copy `config.example.py` to `config.py` and find out some valid values for `ZEUS_KEY` and `ZEUS_SECRET` (try asking an admin)
2018-03-08 23:23:02 +01:00
3. Copy the python files from `database/` to `app/` (yes, it's sad, I know)
2018-03-09 01:02:35 +01:00
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/`
2018-03-08 23:23:02 +01:00
6. Run `python haldis.py runserver`