Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 830 Bytes

dev.md

File metadata and controls

37 lines (28 loc) · 830 Bytes

Build dependencies

  • docker
  • docker-compose

Create the frontend bundle

docker-compose up mapserver_frontend

Development setup (sqlite)

# start the engine in the first window/shell
docker-compose up minetest
# and the mapserver in another
docker-compose up mapserver

Development setup (postgres)

# start postgres in the background
docker-compose -f docker-compose.yml -f docker-compose.postgres.yml up -d postgres
# start the engine in the first window/shell
docker-compose -f docker-compose.yml -f docker-compose.postgres.yml up minetest
# and the mapserver in another
docker-compose -f docker-compose.yml -f docker-compose.postgres.yml up mapserver

Utilities:

# psql
docker-compose -f docker-compose.yml -f docker-compose.postgres.yml exec postgres psql -U postgres