Skip to content

BrewPi/brewpi_webservice

Repository files navigation

BrewPi web service

Code Climate

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

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

Setup

Initialize the database:

python manage.py migrate

Create a superuser

python manage.py createsuperuser

Run

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.

About

BrewPi web services built with Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages