-
Notifications
You must be signed in to change notification settings - Fork 10
GettingStarted
saroele edited this page Mar 16, 2017
·
10 revisions
- 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.
- Download the source code: https://github.com/opengridcc/opengrid/wiki/GettingStarted#getting-the-source-code
- Use the requirements.txt from the website to install the dependencies: https://github.com/opengridcc/opengrid/wiki/GettingStarted#installing-dependencies
- Setting up opengrid.cfg and obtaining data: https://github.com/opengridcc/opengrid/wiki/GettingStarted#obtaining-the-data
- Open a new terminal, cd to your local copy of the website and run the local server with:
python website.py
- Open your favourite browser and go to http://localhost:5000 or http://127.0.0.1:5000
- Be totally amazed with what you see!