Adding Your Blog
If you are a hackNY fellow, you can add your blog by submitting a patch or pull request. Edit
feeds_list.txt and add a line at the bottom with both the link to your blog's RSS feed and your full name, separated by a tab (
Note: The separator must be a tab, not spaces. Your favorite text editor may be configured to convert tabs to spaces on save, in which case you may want to try
ed, for bonus points).
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_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)
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).