Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/souravray/gadgetwish
https://github.com/souravray/gadgetwish
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/souravray/gadgetwish
- Owner: souravray
- License: gpl-2.0
- Created: 2014-10-20T10:44:09.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-21T20:01:15.000Z (about 10 years ago)
- Last Synced: 2024-06-21T13:11:28.276Z (7 months ago)
- Language: CSS
- Size: 1.53 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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