Haldis web application code, official upstream is at https://github.com/ZeusWPI/Haldis/ — [Menus](https://git.zeus.gent/haldis/menus)
Find a file
Maxime 27302bdc2f
Merge pull request #98 from ZeusWPI/fix_db
squash database migrations, update model to be equal to the server
2019-04-04 17:41:47 +02:00
app squash database migrations, update model to be equal to the server 2019-04-02 18:03:14 +02:00
.gitignore add venv creation to script, add to readme and gitignore 2019-04-01 23:42:59 +02:00
first-setup.sh add venv creation to script, add to readme and gitignore 2019-04-01 23:42:59 +02:00
LICENSE This is really going to hurt 2015-03-31 20:15:22 +02:00
README.md add venv creation to script, add to readme and gitignore 2019-04-01 23:42:59 +02:00
requirements.txt Merge pull request #77 from ZeusWPI/pyup-update-alembic-0.8.9-to-0.8.10 2017-02-19 00:18:13 +01:00

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

  1. This is a Python 3 project so make sure to use python 3 and pip3 everywhere
  2. Run pip install -r requirements.txt
  3. cd app
  4. Copy config.example.py to config.py
  5. Copy the python files from database/ to app/ (yes, it's sad, I know)
  6. Run python create_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?)
  7. Run rm -f add_* create_database.py* in app/
  8. Run python haldis.py runserver

Or run ./first-setup.sh in the root of the git folder (in linux)