avelino / beerblogging

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.

Home Page:http://beerblogging.io

Repository from Github https://github.comavelino/beerbloggingRepository from Github https://github.comavelino/beerblogging

BeerBlogging

Build Status

Coverage Status

What the f*&% is #beerblogging ?

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.

Who are the BeerBloggers ?

Joining the Bet

  1. You have to fork this project
  2. 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++
  1. Edit the README.md, and add your blog URL and Feed.
  2. Send a Pull request.
  3. WRITE!

Let's talk about code...

We're using:

Install

  1. First you need to clone this repository: git clone git@github.com:avelino/beerblogging.git
  • Then install all requirements by running pip install -r requirements.txt
  • Run ./manager.py create_db to create the database
  • Run ./manager.py fetch_posts to populate the database
  • Run ./manager.py run to run server in localhost:5000

Testing

Just execute:

$ make test

And it should run the tests for you.

Deploying

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.

About

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.

http://beerblogging.io


Languages

Language:Python 41.1%Language:CSS 23.5%Language:JavaScript 18.4%Language:HTML 14.9%Language:Makefile 2.0%Language:Shell 0.1%