Skip to content
/ tracklog Public
forked from thcyron/tracklog

Tracklog is a web application for managing GPX track files written in Go.

License

Notifications You must be signed in to change notification settings

ifcho/tracklog

 
 

Repository files navigation

Tracklog

Tracklog is a web application for managing GPX track files written in Go.

Run Tracklog with Docker

There’s a Docker image thcyron/tracklog for Tracklog. This image only contains the server and import binary, you have to bring your own Postgres server. You also have to provide a config file.

docker run -v /path/to/config.toml:/config.toml -p 8080:8080 thcyron/tracklog

Installation

First, make sure you have Go and Node.js installed.

To build the JavaScript and CSS assets, run:

npm install
npm run build

Now, build the command line programs:

./script/build

Create and initialize a new Postgres database:

createdb tracklog
psql tracklog < db/postgres.sql

Add a new user:

cmd/control/control -config config.toml user add <name>

Start the server and point your browser to https://localhost:8080/:

cmd/server/server -config config.toml

You can batch-import your GPX files with:

cmd/control/control -config config.toml import -user <name> /path/to/your/*.gpx

License

Tracklog is licensed under the MIT license.

About

Tracklog is a web application for managing GPX track files written in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 58.4%
  • JavaScript 26.4%
  • HTML 8.4%
  • CSS 3.0%
  • PLpgSQL 2.4%
  • Shell 1.4%