It's a f*&%cking bet!
You have 1 month to write at least 1 blogpost. If you don't do that, you have to pay a beer for everybody.
You have to fork this project
Add you data to the members.yaml
following the model:
---
name: your name
email: youremail@domain.com
blog: http://yourbloglink.com
feed: http://yourblogfeed.com
twitter: yourusername
date_joined: !!timestamp 'Y-m-d H:M:s'
tags: your, blog, tags-without-space
id: memberAboveMe.id++
Edit the README.md, and add your blog URL and Feed.
Send a Pull request.
WRITE!
We're using:
git clone git@github.com:avelino/beerblogging.git
pip install -r requirements.txt
./manager.py create_db
to create the database./manager.py fetch_posts
to populate the database./manager.py run
to run server in localhost:5000Just execute:
$ make test
And it should run the tests for you.
To deploy on Heroku:
heroku create
heroku addons:add heroku-postgresql:dev
heroku pg:promote HEROKU_POSTGRESQL_COLOR_URL
git push heroku master
heroku run python manager.py create_db
heroku run ./update_posts.sh
OBS: The update_posts.sh
should be runned everytime, to keep tracking new posts.