Before starting the app, make sure you have cloned it with the frontend project (git clone --recurse-submodules
) or clone them using git submodule init
and git submodule update
.
Verify that the frontend project is present in the opengeo-frontend directory.
- ./config/config.yml - Backend configuration
- ./opengeo-frontend/docker/.env - Frontend runtime configuration, should be based on .env.example
Easiest setup, but only temporary
- Log in to Play With Docker
- Create a new instance #TODO
- Install docker and docker compose
- Configure the app
- Run
docker compose up -d --build
in the project directory - The app should be running on http://127.0.0.1:3000/, if you want to allow connections outside of localhost, modify the docker-compose.yml file to your liking
- Install Python 3.7+ and pip
- Install poetry with
pip3 install poetry
- Install node.js 14+ and yarn
- Set up the python GDAL installation with
python3 gdal-setup.py
which will download the required GDAL wheel and set up the poetry environment - Configure the app
- Prepare the backend using
poetry run python manage.py migrate
- Start the backend:
poetry run python manage.py runserver 127.0.0.1:8000 --nostatic
- Change the current working directory to 'opengeo-frontend'
- Prepare the frontend:
yarn install
- Start the frontend:
yarn start
- Install Python 3.7+ and pip
- Install
gdal-bin libgdal-dev
via APT, orgdal gdal-devel
via DNF - Install poetry with
pip3 install poetry
- Install node.js 14+ and yarn
- Check the GDAL installation with
python3 gdal-setup.py
- Create a Python virtualenv by running
poetry install
in the project directory - Configure the app
- Prepare the backend using
poetry run python manage.py migrate
- Start the backend:
poetry run python manage.py runserver 127.0.0.1:8000 --nostatic
cd opengeo-frontend
- Prepare the frontend:
yarn install
- Start the frontend:
yarn start
Too bad, though the steps should be similar to Linux
Nice resources: