Wook is a simple website made in Django to store and display cooking recipes and notes about cooking. If you want to store your data, you can register and login after it.
- clone repo:
git clone https://github.com/Gochad/wook <directory>
- run
make setup
- to create virtual environment for project - run
source env/bin/activate
- to open virtual environment - run
make requirements
- to install requirements in virtual env - make database with
make initdb
- to run server you can use
make server
, but if you have problemError: That port is already in use.
you can usemake porterr
(it close connection on default port and open server on this port) - if you're changing some models in models.py files, you can refresh database with
make updatedb
To run tests: make test
Tests for every django app are located in <app_dir>/tests.py
. You can write them using functions or grouping them into classes.