Backend for Browl. Live demo.
Clone this repo, set up and activate a virtualenv:
git clone git@github.com:erkarl/browl-api.git
cd browl-api
virtualenv env
source env/bin/activate
Create a new PostgreSQL user with the username browl
and password browl
. Grant it access to browl
database.
Optionally, if you'd like to use SQLite3 as your DB backend - just change DATABASES
setting in ../browl-api/browl/settings.py
:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'db.sqlite3',
}
}
make install
make initdb
make server
Launch http://localhost:7000 in your browser.
make test