pluto

command module
v0.0.0-...-9ce79ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2013 License: MIT Imports: 17 Imported by: 0

README

Pluto
=============
Pluto is a blog aggregator written in Go, with Foundation styling to get you started. Pluto powers [Planet-hackNY](https://github.com/ChimeraCoder/Planet-hackNY).

Configuration & Setup
-----------------------

You will need to add a file `conf.go` which includes definitions for the configuration variables:

````go

package main

import "os" //You can delete this import if none of your configuration variables are defined as environment variables


//Define these with the correct values
var COOKIE_SECRET = ""
var MONGODB_USERNAME = ""
var MONGODB_PASSWORD = ""
var MONGODB_URL =  ""
var MONGODB_DATABASE = ""
````

*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:

````go
	err = mongodb_session.DB(MONGODB_DATABASE).Login(MONGODB_USERNAME, MONGODB_PASSWORD)
````
would then be replaced with 

````go
	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).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL