Haldis web application code, official upstream is at https://github.com/ZeusWPI/Haldis/ — [Menus](https://git.zeus.gent/haldis/menus)
09c65e2bcc
Localhost script |
||
---|---|---|
app | ||
.gitignore | ||
first-setup.sh | ||
LICENSE | ||
README.md | ||
requirements.txt |
Haldis
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. Start an order and let people add items with a simple mouse-click! No more calculating prices and making lists! Be lazier today!
Local hosting steps
- This is a Python 3 project so make sure to use python 3 and pip3 everywhere
- Run
pip install -r requirements.txt
cd app
- Copy
config.example.py
toconfig.py
- Copy the python files from
database/
toapp/
(yes, it's sad, I know) - Run
python create_database.py
inapp/
(if you want to fill the DB with sample data be sure to answerY
toDo you still want to add something?
) - Run
rm -f add_* create_database.py*
inapp/
- Run
python haldis.py runserver
Or run ./localhost.sh
in the root of the git folder (in linux)