Skip to content
saroele edited this page Mar 16, 2017 · 10 revisions

Run the website locally with docker

  • Download the source code: https://github.com/opengridcc/opengrid/wiki/GettingStarted#getting-the-source-code
  • clone this repository and enter the resulting directory
  • create two environment variables:
    • OPENGRIDPATH : path to the OpenGrid source code
    • OPENGRIDDATA : path to the data (will contain the .tmpo folder, figures, cached monitoring and weather data)
  • run the shell script ./docker-run-website and the website will be opened in your browser.

Running website locally without docker

python website.py