danielecr / ASE-lab3

lab3: test travis and coverall services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASE Calc Microservice

TrevisCI Build

Coverage Status

Setup the environment

To setup the environment, you should follow these steps:

  1. Open the project in your IDE.
  2. From IDE terminal, or normal Ubuntu/MacOS terminal execute the command virtualenv venv inside project root.
  3. Now, you have to activate it, by executing the command source venv/bin/activate.
  4. You have to install all requirements, let's do that with pip install -r requirements.txt.

Perfect! now you can run flask application!

WARNING: each time that you open a new terminal session you have to execute the step 3.

Run the application

If you want to run the application, you can use the script run.sh by typing bash run.sh, or you can set these environment variables:

FLASK_DEBUG=1
FLASK_ENV=development

About

lab3: test travis and coverall services


Languages

Language:Python 97.1%Language:Shell 2.9%