task_tracker/README.md
Simon Fortier dfeddce2e9 readme-draft
wip
2019-04-06 21:10:28 -04:00

1.1 KiB

gopherbadger-tag-do-not-edit CodeFactor Build Status

Fast task tracker with authentication, statistics and web frontend

Postgres setup

sudo su postgres
createuser task_tracker
createdb task_tracker
psql task_tracker
> 

Nginx Setup

index index.html;

root /path/to/webroot;

location / {
        try_files $uri $uri/ /index.html;
}
location ~ /api(.*)$ {
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_pass http://127.0.0.1:3010$1?$args; # Change host/port if necessary
}

Running tests

cd test/
go test