- git
- Python >= 3.5
- Install docker desktop
- Open the Windows PowerShell
- Run
docker pull ghcr.io/openenergyplatform/oeplatform-postgres:latest
to pull the latest docker image - Run
docker run -p "<port>:5432" ghcr.io/openenergyplatform/oeplatform-postgres:latest
run a postgres database with all necessary databases on port<port>
- Install docker
- Run
docker pull ghcr.io/openenergyplatform/oeplatform-postgres:latest
to pull the latest docker image - Run
docker run -p "<port>:5432" ghcr.io/openenergyplatform/oeplatform-postgres:latest
run a postgres database with all necessary databases on port<port>
- Clone the OEP source code
- We recommend the use of a virtual python environment to avoid conflicts
- Run
pip install -r requirements.txt
to install all requirements - Copy the file
oeplatform/securitysettings.py.default
tooeplatform/securitysettings.py
. - Run
python manage.py migrate
to setup the required tables used by django - Run
python manage.py runserver
to start the platform on port 8000 - Your instance of the OEP is now available at localhost:8000