- Download the code from Github
- We highly recommend to use an Anaconda distribution
- download and install Anaconda for Python 2.7 and your specific OS.
- Create one environement for this project
conda create --name microgrid --file conda-{platform}.txt
where "{platform}" must match your OS. Checkout this reference for more information about how to manage Anaconda environments.
- Activate the environment
For Windows:
activate microgrid
For OSX and Linux,
source activate microgrid
Please refer to the examples
examples
Read the doc for more information.
Alternatively you can generate the documentation yourself if you have sphinx installed:
cd <to the root of the project>
sphinx-apidoc -o docs/ microgrid/ -f --separate
cd docs; make html; cd ..
The html doc is in _build/html