Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 1.16 KB

README.md

File metadata and controls

64 lines (51 loc) · 1.16 KB

Mothra Django Project

Prerequisites

  • python >= 2.5
  • pip
  • virtualenv/wrapper (optional)

Installation

Creating the environment

Create a virtual python environment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.

For virtualenvwrapper

mkvirtualenv --no-site-packages mothra-env

For virtualenv

virtualenv --no-site-packages mothra-env
cd mothra-env
source bin/activate

Clone the code

Obtain the url to your git repository.

git clone [email protected]:clowdflowsinterfaces/mothra.git mothra

Install requirements

cd mothra
pip install -r requirements.txt

Configure project

cp mothra/__local_settings.py mothra/local_settings.py
vi mothra/local_settings.py

Sync database

python manage.py syncdb

Migrate database

python manage.py migrate

Running

python manage.py runserver

Running with debugger

python manage.py runserver_plus

Open browser to http://127.0.0.1:8000