Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Setup Local Environment

Kenrick edited this page Dec 6, 2016 · 5 revisions

Setting up

  1. Clone project (git clone https://github.com/kenrick95/aba-web.git)
  2. Install miniconda, choose Python 3.x
  3. Navigate to project folder (cd aba-web)
  4. conda env create -f environment.yml
  5. activate fyp (Windows) or source activate fyp (Linux)

Running web interface

  1. Using command line, navigate to project folder
  2. activate fyp (Windows) or source activate fyp (Linux)
  3. python main.py
  4. Open browser and go to "localhost:5000"

Running performance testing

  1. Using command line, navigate to project folder
  2. activate fyp (Windows) or source activate fyp (Linux)
  3. python perf_test.py
  4. Results are logged in logs/PerfTests.log

Running local unit testing

  1. Using command line, navigate to project folder
  2. activate fyp (Windows) or source activate fyp (Linux)
  3. python -m unittest
  4. Results are logged in logs/Tests.log