2019-01-24 17:56:37 +03:00
|
|
|
|
2019-02-15 15:02:32 +03:00
|
|
|
# Build dependencies
|
|
|
|
|
2023-12-27 12:35:24 +03:00
|
|
|
* docker
|
|
|
|
* docker-compose
|
2019-02-15 15:02:32 +03:00
|
|
|
|
2022-02-01 16:59:29 +03:00
|
|
|
# Create the frontend bundle
|
2019-02-15 15:02:32 +03:00
|
|
|
|
2022-02-01 16:59:29 +03:00
|
|
|
```bash
|
2023-12-27 12:35:24 +03:00
|
|
|
docker-compose up mapserver_frontend
|
2022-02-01 16:59:29 +03:00
|
|
|
```
|
2019-02-15 15:02:32 +03:00
|
|
|
|
2023-12-27 12:35:24 +03:00
|
|
|
# Development setup (sqlite)
|
2019-02-15 15:02:32 +03:00
|
|
|
|
2023-12-27 12:35:24 +03: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 15:02:32 +03:00
|
|
|
```
|
|
|
|
|
2023-12-27 12:35:24 +03:00
|
|
|
# Development setup (postgres)
|
2019-02-15 15:02:32 +03:00
|
|
|
|
2023-12-27 12:35:24 +03: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 15:02:32 +03:00
|
|
|
|
2023-12-27 12:35:24 +03:00
|
|
|
Utilities:
|
|
|
|
```sh
|
|
|
|
# psql
|
|
|
|
docker-compose -f docker-compose.yml -f docker-compose.postgres.yml exec postgres psql -U postgres
|
|
|
|
```
|