Skip to content

TheUKDave/audree

Repository files navigation

Audree server

First-time setup

Languages/applications needed

The app runs within a virtual environment. To install virtualenv, run

    [sudo] pip install virtualenv

Install virtualenvwrapper

    [sudo] pip install virtualenvwrapper

Create a database for the server

    [sudo] createdb audree

Create a local environment.sh file containing the following:

echo "
export DJANGO_SETTINGS_MODULE='audree.settings.dev'
export DATABASE_URL='postgres://localhost/audree'
export SECRET_KEY='REPLACE ME WITH AN ACTUAL SECRET KEY'
"> environment.sh

Make a virtual environment for this app:

    mkvirtualenv -p /usr/local/bin/python3.5 audree

Install dependencies

    ./scripts/bootstrap.sh

Running the application

Running with django runserver:

    workon audree
    python manage.py runserver 0:8000

Then visit localhost:8000

Running tests

Tests include a pep8 style check, django test script and coverage report.

    workon audree
    python run_tests.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages