This is the very start of a new web service for BrewPi. It will provide a REST API to the BrewPi backend. For our current production version, see brewpi-www
Install Python 3.5
Create a new virtualenv for brewpi_webservice. Easiest way to do this is with virtualenvwrapper. Install it through pip.
For Windows:
pip install virtualenvwrapper-win
For other systems:
pip install virtualenvwrapper
Create a new virtualenv:
mkvirtualenv brewpiws
Now start using the virtualenv:
workon brewpiws
Install all required dependencies:
pip install -r requirements.txt
Initialize the database:
python manage.py migrate
Create a superuser
python manage.py createsuperuser
You can run the development server with:
python manage.py runserver_plus
You can now point your browser to http://localhost:8000
to access the
root API frontend or to http://localhost:8000/admin/
for the
administration panel.