Skip to content

firstlinestats/site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

049548e · Jun 27, 2016

History

12 Commits
Jun 27, 2016
Jun 24, 2016
Jun 24, 2016
Jun 24, 2016

Repository files navigation

First Line Stats README

Installation

  1. This site was built using Vagrant and the "ubuntu/trusy64" VM Box
  2. Once the vagrant box is up and running, install:
  • python-dev
  • libmysqlclient-dev (if using mysql, other databases will require different libraries)
  • python-pip
  • python-virtualenv (if using virtualenv)
  1. If using virtualenv, enable first, and the install the requirements.txt file using pip
  2. Obtain or create a cred.py file and including in the fls folder along with settings.py. This file should look something like:
  • DB_NAME = "db_name"
  • USER = "username"
  • PASSWORD = "password"
  • HOST = "host"
  • PORT = "portnumber"
  • SECRET_KEY = "supersecretsecretkey"
  1. Enjoy!