Overview

London 2012 Feed Website


Requirements

  • Python 3.
  • virtualenv (You can get virtualenv.py from virtualenv.org).
  • Internet connection to install dependencies.

Installation

Should work on all platforms. Replace "python3" with name of you python executable.

  1. Create virtual environment - "virtualenv -p python3 .virt" or "python3 virtualenv.py .virt"
  2. Activate environment:
  3. On Unix "source .virt/bin/activate"
  4. On Windows ".\.virt\Scripts\activate"
  5. Install dependencies - "pip install -r requirements.txt"
  6. Launch the website - "python3 main.py"

Configuration

  • Change port and host values in "conf/global.conf".
  • On production site port should be 80(which is requires admin rights to launch the website).
  • Host value should be set to domain used for the website.

Administration