Skip to content

jumanji27/expenses-mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Install deps

Install Mongo (2.6.5)

Install Go (1.4.2) and prepare default GOPATH/GOROOT env variable

Install Node (0.12.7)

In CLI
sudo cp -r server/vend/* ~/go/src
cd client/builder && npm install && sudo npm install -g gulp@3.9.0 bower@1.6.5 && bower install
Build and run
mkdir ~/mongo && mongod --dbpath ~/mongo
go build -o server/expense_mon server/expense_mon.go && MARTINI_ENV=production server/expense_mon
cd client/builder && gulp build
Run dev server
mkdir ~/mongo && mongod --dbpath ~/mongo
go run server/expense_mon.go
cd client/builder && gulp run