First, make sure you're using a UNIX environment. Windows works, but our project probably won't support it.
-
Install pip
-
Install project dependencies via
$ pip install -r requirements.txt
from the project root. -
Create migrations for the lists app
$ python fridgefiller/manage.py makemigrations lists
-
Migrate the database with
$ python fridgefiller/manage.py migrate
-
Add data to the database. Run
$ python lists/generate.py
to generate a database with some models n' what not. Do note that running this command expects an empty database, if the database is not empty there might be problems -
Run the Django server via
$ python manage.py runserver
. This will start the Django debug server, running atlocalhost:8000
on your machine. If you want to access the app from your public ip (aka from another computer on the network), instead run the Django server with$ python manage.py runserver 0.0.0.0:<port number>
-
Have fun!