A whisky collection and drink tracking web application based on Django and Bootstrap
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
base
bottle
collection
doc
glass
scripts
static
templates
userprofile
whisky
.gitignore
.hgignore
README.md
create_local_settings.py
manage.py
migrateapps.sh
requirements.txt

README.md

Malt

Scrutinizer Code Quality
A whisky collection administration and drink tracking web application based on Django and Bootstrap.

Homepage desktop

Dependencies

  • Python 3
  • Django 1.8
  • numpy
  • matplotlib
  • django-bootstrap3
  • django-dual-authenticaon
  • signals

Installation

Install numpy and matplotlib

Install the numpy and matplotlib python modules with your system package manager. These are large modules with dependencies that may not install using pip.

Virtual environment

Create a virtualenv for python 3.x,

$ virtualenv --python=/usr/bin/python3.x env

Activate the virtualenv,

$ source env/bin/activate

Install the required packages,

$ pip install -r requirements.txt

Configure settings

Generate a local settings file from the example local settings,

$ python create_local_settings.py

And change the settings in local_settings.py to your local environment.

Create database

Create initial database:

$ python manage.py migrate

Create a Django root user,

$ python manage.py createsuperuser

Test run

Run test server,

$ python manage.py runserver

View the test server on http://127.0.0.1:8000.

Create a UserProfile for the root user via the admin before you login on the main site, http://127.0.0.1:8000/admin