[go: up one dir, main page]

Skip to content

navtrack/navtrack

Repository files navigation

Navtrack

Open source GPS tracking system based on .NET and React.

navtrack.com - codeagency.com

Discord

Running Navtrack

  1. From source code
  2. With Docker containers

Running from source code

Requirements

Steps

  1. Clone this repository
  2. Open up a terminal
  3. Run npm install
cd frontend
npm install
  1. Build the solution
dotnet build
  1. (Optional) Start MongoDB using our development docker-compose file or if you already have a MongoDB instance running you can configure the connection strings in the following 2 files, one for the API and one for the Listener service.
docker-compose -f docker-compose.dev.yml up
backend/Navtrack.Api/appsettings.Development.json
backend/Navtrack.Listener/appsettings.Development.json
  1. Start the API
dotnet run --project backend/Navtrack.Api
  1. Start the Listener service
dotnet run --project backend/Navtrack.Listener
  1. Start the web interface with
cd frontend/web
npm start

Running with Docker containers

1. Install docker

2. Get the latest docker-compose.yml

curl https://raw.githubusercontent.com/navtrack/navtrack/main/docker-compose.yml -o docker-compose.yml

3. Run Docker Compose

docker-compose up

or

docker compose up

4. Open Navtrack in a browser

http://localhost:3000