WAR On Ice - Web
- Install vagrant and VirtualBox (or your favorite VM software)
- Spin up vagrant instance from Vagrantfile
vagrant up
- SSH into vagrant box:
vagrant ssh
- Create a virtual environment for the project (optional)
- Install R a. apt-get install liblzma-dev b. Add rstudio's repository to your machine's sources list to ensure you get the latest version of R (http://askubuntu.com/questions/431380/how-to-install-upgrade-r-base-to-3-02) c. apt-get install r-base d. apt-get install r-base-dev
- Install the requirements for this project
pip install -r required.txt
- You will need to create a file
cred.py
in the main directory. See below. - Run the flask file -
python run.py
- Connect to localhost:5000 to see the site running!
To the run application, you need to specify your database configuration.
Create a file cred.py
in the main application directory. This file should contain the following:
## MYSQL DB Credentials
mysql_username = "username"
mysql_password = "password"
mysql_server = "servername"
mysql_dbname = "dbname"