Home

Awesome

logo

gitmonitor-server

Build Status

purpose

The purpose of this app is to remind you to push your code before you shut your macbook and go home, it may be that other people depend on it or your harddrive dies on the way home...

flow

how to install

read 'depends on' first

git clone https://github.com/theotow/gitmonitor-server
add cert.pem and key.pem in app/server/secrets/ please obtain them from apple developer console
npm install
npm run install

then open

Terminal1:

npm run up

Terminal2:

npm run watch

install on digital ocean droplet

  1. run 'how to install' steps but skip the Terminal1, Terminal2 step

  2. create droplet and init shell

docker-machine create --driver digitalocean --digitalocean-access-token <your token here> docker-sandbox
eval $(docker-machine env docker-sandbox)     

  1. start the server
npm run up-prod-forever
open http://$(docker-machine ip docker-sandbox):3000
  1. set that ip in gitmonitor-ios && gitmonitor-client accordingly

depends on

commands

npm run *

Tested on Mac OSX 10.10.5 & node 4.2.2 & docker 1.10.0 & docker-compose 1.6.0

licence

MIT