Skip to content

nosarthur/todoslacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web application of TODO list

Build Status contributions welcome codecov

This is an attempt to combine Go backend, Polymer frontend, and Slack slash command into a todo list app. A working example can be seen here.

The basic data type is called Ticket, and each Ticket contains multiple Todos.

Polymer color schemes can be found here

test

  • go test ./storage -v
  • go test ./server -v

local deployment

  • go install ./cmd/...
  • heroku local web

heroku deployment

To set up:

To deploy:

  • godep save ./cmd/...
  • git push heroku master
  • heroku open

To create database

  • heroku addons:create heroku-postgresql:hobby-dev
  • heroku pg:info
  • heroku pg:psql
  • heroku run bash
    • initTodobotDB

To maintain:

  • heroku apps:info
  • heroku ps
  • heroku logs --tail
  • heroku config[:set|unset]

install polymer and initialize the project

  • install node.js
  • sudo npm install npm@latest -g
  • sudo npm install -g polymer-cli
  • sudo npm install -g bower
  • polymer init (optional)
  • bower init
  • bower install --save PolymerElements/iron-ajax
  • bower update
  • bower cache clean
  • bower prune
  • polymer build (optional)