GithubHelp home page GithubHelp logo

brandongrant / tracklog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thcyron/tracklog

0.0 2.0 0.0 4.31 MB

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

License: MIT License

Go 58.33% CSS 3.04% JavaScript 26.36% PLpgSQL 2.44% Shell 1.44% HTML 8.40%

tracklog's Introduction

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 http://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.

tracklog's People

Contributors

thcyron avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.