Docker Installation#
Note
Prerequisites: Existing RDM or DataParser style database.
- Install docker
- Install docker-compose
-
Clone the repository
git clone https://github.com/versx/MapJS && cd MapJS
-
Copy the sample docker-compose file
cp docker-compose.example.yml docker-compose.yml
-
Fill out your docker-compose.yml file
vi docker-compose.yml
-
Create your project config
cp src/configs/config.example.json src/configs/config.json
-
Fill out config. See config#discord for Discord Auth instructions.
vi src/configs/config.json
-
Create/copy a
static/custom/nests.json
file to show nests (GeoJSON file format) - Create/copy a
static/custom/areas.json
file to show scan areas (GeoJSON file format, see below) - Start with
docker-compose up -d
- Access via http://machineip:port/ login using your Discord account
Updating#
cd /path/to/MapJS
git pull
docker-compose build
docker-compose up -d