Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/souravray/gadgetwish


https://github.com/souravray/gadgetwish

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

gadgetWish
==========

###Required
* Go > 1.2.x
* MongoDB > 2.5.x

###Adding Go dependencies
#####mgo
--------------
go get gopkg.in/mgo.v2

#####gorilla
--------------
go get github.com/gorilla/mux
go get github.com/gorilla/sessionsbe

###Running the App
####Bootstrapping
* Open bootstrap/main.go
* Modify the local constant
* dbURI
* dbname
* Run bootstrap script like below
--------------
cd app-path/bootstrap
go run main.go

####Configure
Rename example.config.json to config.json and add mongodb connection string and db name

####Building app
* Simply start the server
--------------
cd app-path/
go run server.go
* Alternatively you can build and execute
--------------
go build server.go
./server
* Now go to you favourite browser and check http://127.0.0.1:8080