kthordarson / midhraun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miðhraun

Setting up environment for development

  1. Install pip
    • sudo apt-get install python-pip
  2. Setup virtualenv for python
    • sudo apt-get install python-virtualenv
    • virtualenv .
  3. Setup python requirements
    • source bin/activate
    • pip instal -r requirements.txt
    • python manage.py migrate

run deactivate in order to fix up system paths once you want to stop development

Running the server

  1. source bin/activate
  2. python manage.py runserver
    • optionally run manage.py <localhost>:<port> to start the server on a port different than the default 8000

About


Languages

Language:Python 54.0%Language:HTML 39.8%Language:CSS 6.2%