Skip to content

muffins-on-dope/bakery

Repository files navigation

Bakery

image

image

image

image

Installation

$ # Create your virtualenv (recommended, use virtualenvwrapper)
$ virtualenv env

$ # Clone repository
$ git clone https://github.com/muffins-on-dope/bakery.git

$ # Activate Environment and install
$ source env/bin/activate
$ cd bakery
$ pip install -r requirements/development.txt

$ # run tests
$ python manage.py test --settings=bakery.settings.test

Setup PostgreSQL

Note

bakery was only tested on postgresql and probably relies on it.

$ Create your postgresql database
$ createdb -U postgres bakery

Edit settings

Ignore development settings.

$ git update-index --assume-unchanged bakery/settings/development.py

This ignores all future changes to your local development settings.

Edit bakery/settings/development.py and adapt to your environment.

Setup the database

$ python manage.py syncdb --migrate --noinput

Example data

$ python import.py

Now you can run the webserver and start using the site.

$ python manage.py runserver

This starts a local webserver on localhost:8000.

Resources