khabar-admin
Manage khabar notifications and settings
Development
Clone the repo
$ go get github.com/codegangsta/gin
gin is used to to automatically compile files while you are developing
Then run
$ go get && go install && PORT=7000 DEBUG=* gin -p 9000 -a 7000 -i run
Then visit localhost:9000
MongoDB config is stored in middlewares/connect.go
.
godep is used for dependency management. So if you add or remove deps, make sure you run godep save
before pushing code. Refer to its documentation for more info on how to use it.
Usage
$ go get github.com/bulletind/khabar-admin
$ PORT=7000 khabar-admin # should start listening on port 7000
If you specify MONGODB_URL
env variable then it will connect to that particular connection string.