/foodpact

Visualize the environmental impact of foods you eat. 🍔🍉🥦

Primary LanguageJupyter Notebook

foodpact

Visualize the environmental impact of foods you eat. 🍔🍉🥦

Application quickstart

Basics

  1. Create and activate a virtualenv
  2. Install the requirements

Here for Powershell -

git clone <this_repo>
cd <this_repo>

python -m virtualenv venv

.\venv\scripts\activate.ps1

Environment variables

set-variable -name "APP_SETTINGS" -value "project.server.config.DevelopmentConfig"

or

set-variable -name "APP_SETTINGS" -value "project.server.config.ProductionConfig"

Run the application

python manage.py run

Access the application at the address http://localhost:5000/.

When you're done

Deactivate the virtual environment!

deactivate