/hackathon-machine

Hackaton Machine / Topics voter

Primary LanguageJavaScript

Hackathon Machine

Docker

  • Install Docker
  • gpasswd -a $USER docker
  • relogin/reboot
  • Autolaunch docker sudo systemctl enable docker
$ ./bin/develop.sh

frontend

$ cd frontend
$ npm install && npm start

http://localhost:3000

backend

Install package manager:

$ curl https://glide.sh/get | sh

For OSX users

$ brew install glide

For ubuntu users

$ sudo add-apt-repository ppa:masterminds/glide && sudo apt-get update
$ sudo apt-get install glide

Install packages:

$ cd backend && glide install

Create db:

psql && CREATE DATABASE hmachine

Run migrations:

$ cd backend && go run migrate.go

Start slack bot integration:

$ cd backend && go run bot.go

Run server:

$ cd backend && go run server.go