-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document development environment setup #31
Comments
Created a new WSL2 instance following this guide: https://cloudbytes.dev/snippets/how-to-install-multiple-instances-of-ubuntu-in-wsl2 Except that I used 20.04 instead of 21.04 |
update upgrade, init git add ssh keys to github |
|
|
|
Install nvm: https://github.com/nvm-sh/nvm: |
Install erlang: Install rabbitmq: Start rabbitmq-server
|
first terminal: 4th terminal: Note the IP address of your WSL2 instance, in this case On your host OS open a Chrome or Firefox web browser and navigate to For first time setup you must register a user to your local database. I recommend using something easily memorable and keep in mind that you can register as many users as you need while testing. Example account setupClick "Register now!" For email use: [email protected] Next, you are prompted to add energy sources. This is local development so there would be no way to add a real PGE account here. In the dropdown select "Fake Utility" and click "Authorize". Next, you are prompted to name the fake energy source. Enter dev, for example, then click "Add Source". After simulating API calls and parsing the retrieved ESPI data (J.P.'s old data) you will be greeted with an OEV instance that will respond to changes in your local Python/Flask/Celery backend and React frontend. |
docs: add environment setup section #31
when running Got error: File "/home/chayan/Projects/open-energy-view-master/open_energy_view/lib/python3.10/site-packages/amqp/connection.py", line 668, in _on_close what to do in this case |
Create a new dev environment and document procedure. This should provide sample account data for 3600/900 electrical as well as gas so that the gas API can be started.
The text was updated successfully, but these errors were encountered: