# Tracklog

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

## 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, fetch dependency packages and build the command line programs:

    go get ./...
    (cd cmd/server && go build)
    (cd cmd/import && go build)

Create and initialize a new Postgres database, which will also create a new user
with both username and password set to *admin*:

    createdb tracklog
    psql tracklog < db/postgresql.sql

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

    cmd/server/server -config config.json

## License

Tracklog is licensed under the MIT license.

# Tracklog

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

## 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, fetch dependency packages and build the command line programs:

    go get ./...
    (cd cmd/server && go build)
    (cd cmd/import && go build)

Create and initialize a new Postgres database, which will also create a new user
with both username and password set to *admin*:

    createdb tracklog
    psql tracklog < db/postgres.sql

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

    cmd/server/server -config config.json

## License

Tracklog is licensed under the MIT license.

Fix path to .sql file
Fix path to .sql file
