Skip to content

AlexSteckler/robocup-RescueMapEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robocup Rescue-MapEditor

An online platform to create Rescue Line and Line Entry maps.

Dependencies

Node - used version 16.17.xx

NPM - used version 18.15.xx

Docker - to install Database-dump

This project was generated with Angular CLI - version 15.0.xx.

Installation

$ npm install

Open Development Site

Navigate to http://localhost:4401/. The application will automatically reload if you change any of the source files.

Rescue-MapEditor - Backend

Preperation local Docker Dump

Setup .env-file in repo.

Open in Terminal:

# run to install docker container
$ docker run --name mongodb -d --restart always -p 27017:27017 mongo

# show current running docker container id
$ docker ps

# Copy <ID> and import <Name>.dump
$ docker exec -i <ID> sh -c "mongorestore --archive" < <Name>.dump
Open in Terminal:
$ cd /backend

# start dev server
$ npm start

# start dev server - development
$ npm run start:dev

Rescue-MapEditor - Frontend

Installation

$ cd /frontend

$ npm install

Running the app

# development
$ npm run start

# local
$ npm run start:local

# watch mode
$ npm run start:dev

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us