"It's the soup of the day."
DuJour is a Django web app designed to collect lunch orders around the office.
We're in early development so functionality is minimal for now.
- Django (2.1.5)
- Python (3.7.1)
Django Documentation - https://docs.djangoproject.com/en/1.8/
Python Documentation - https://www.python.org/doc/
nginx Documentation - http://wiki.nginx.org/Main
sqlite Documentation - https://www.sqlite.org/docs.html
Setting up dev environment
- Install Python 3.7
- Create a venv for this project. On Windows:
Add to your PATH:
Then run this in a command prompt:
mkdir C:\PythonEnvs ./pyvenv.py C:\PythonEnvs\DuJour
Now whenever you want to use this venv, run
C:\PythonEnvs\dujour\Scripts\activate.bat in your command prompt. Any PIP installs/uninstall you run will be local to this venv.
Linux users: figure it out yourself and put the commands here!
For Ubuntu, one thing you'll have to do is install these packages:
sudo apt-get install python3-dev freetds-dev
- Change to this repo's directory
- Install dependencies:
pip install -r requirements.txt
- Create database:
- Run server: