1
0
forked from MTSR/mapserver
mapserver/doc/dev.md

37 lines
830 B
Markdown
Raw Permalink Normal View History

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