Skip to content

ChimeraCoder/pluto

Repository files navigation

Pluto

Pluto is a blog aggregator written in Go, with Foundation styling to get you started. Pluto powers Planet-hackNY.

Configuration & Setup

You will need the following environment variables defined:

#Any value will do, as long as it is secret and difficult to predict
export COOKIE_SECRET=""

#Database credentials
export MONGODB_USERNAME=""
export MONGODB_PASSWORD=""
export MONGODB_URL=""
export MONGODB_DATABASE=""

If you are running the app on Heroku, run:

heroku config:set COOKIE_SECRET=$COOKIE_SECRET MONGODB_USERNAME=$MONGODB_USERNAME MONGODB_PASSWORD=$MONGODB_PASSWORD MONGODB_URL=$MONGODB_URL MONGODB_DATABASE=$MONGODB_DATABASE

which will copy the values from your current environment to use on the Heroku server.

If you are running mongodb locally (or if your mongodb instance isn't protected by a username/password, you can ommit the MONGODB_USERNAME and MONGODB_PASSWORD variables; however, you will need to delete the call to the Login method:

	err = mongodb_session.DB(MONGODB_DATABASE).Login(MONGODB_USERNAME, MONGODB_PASSWORD)

would then be replaced with

	err = mongodb_session.DB(MONGODB_DATABASE)

License

Copyright (C) 2012 Aditya Mukerjee

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of the author(s) shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from those author(s).

About

Pluto is not a Planet

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •