Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 *

  • install-package / install package in docker
  • install-package / install all deps
  • killall / delete all docker created container
  • kill / kill node process in docker
  • test-local / run tests local
  • test / run tests in docker
  • watch / start watching for file changes to the backend code in docker
  • run / start the dependent docker container in docker
  • watch-local / watch tests local
  • up / runs the dev build
  • up-prod / runs the production build
  • up-prod-forever / run forever on docker
  • build / build the dev build
  • build-prod / build the prod build

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

licence

MIT

About

(Backend) An app that notifies you if you didn't push your code to remote

Resources

License

Stars

Watchers

Forks

Packages

No packages published