2019-01-24 15:56:37 +01:00
|
|
|
|
2019-02-15 13:02:32 +01:00
|
|
|
# Build dependencies
|
|
|
|
|
2023-12-27 10:35:24 +01:00
|
|
|
* docker
|
|
|
|
* docker-compose
|
2019-02-15 13:02:32 +01:00
|
|
|
|
2022-02-01 14:59:29 +01:00
|
|
|
# Create the frontend bundle
|
2019-02-15 13:02:32 +01:00
|
|
|
|
2022-02-01 14:59:29 +01:00
|
|
|
```bash
|
2023-12-27 10:35:24 +01:00
|
|
|
docker-compose up mapserver_frontend
|
2022-02-01 14:59:29 +01:00
|
|
|
```
|
2019-02-15 13:02:32 +01:00
|
|
|
|
2023-12-27 10:35:24 +01:00
|
|
|
# Development setup (sqlite)
|
2019-02-15 13:02:32 +01:00
|
|
|
|
2023-12-27 10:35:24 +01:00
|
|
|
```bash
|
|
|
|
# start the engine in the first window/shell
|
|
|
|
docker-compose up minetest
|
|
|
|
# and the mapserver in another
|
|
|
|
docker-compose up mapserver
|
2019-02-15 13:02:32 +01:00
|
|
|
```
|
|
|
|
|
2023-12-27 10:35:24 +01:00
|
|
|
# Development setup (postgres)
|
2019-02-15 13:02:32 +01:00
|
|
|
|
2023-12-27 10:35:24 +01:00
|
|
|
```bash
|
|
|
|
# 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
|
|
|
|
```
|
2019-02-15 13:02:32 +01:00
|
|
|
|
2023-12-27 10:35:24 +01:00
|
|
|
Utilities:
|
|
|
|
```sh
|
|
|
|
# psql
|
|
|
|
docker-compose -f docker-compose.yml -f docker-compose.postgres.yml exec postgres psql -U postgres
|
|
|
|
```
|