/euro2016

UEFA Euro 2016: Betting with your friends

Primary LanguageJavaScript

Euro 2016

Code Climate Codacy Badge David DM

Euro 2016 is a web service written in Node.js, giving you and your friends 👦 👧 a platform of competition: Who is the better forecaster of football ⚽ matches? Make bets of future matches, collect scores and win the crown 👑.

Scoring

  • ⭐⭐⭐ correct bet
  • ⭐⭐ correct goal difference
  • ⭐ correct winner

The UEFA European Championship 2016 is taking place in France 🇫🇷 from June 10 to July 10. Happy betting!

Install

You need to have PostgreSQL 🐘 >= 9.3 installed and configured with a new database. Node.js is required of course, recommended versions are >=4.4.0.

git clone https://github.com/syxolk/euro2016.git
cd euro2016
npm install

Now copy template.config.coffee to config.coffee and set the database connection.

cp template.config.coffee config.coffee
nano config.coffee

Before the first run you usually want to add all matches and teams:

node tools/populate.js tools/euro2016.json

Run

The database structure will be created on first run automatically.

node index.js

Update

How to update euro2016 to the newest version:

git pull
npm install

Notes

  • Bower is no longer needed. We use gulp now. You can delete the bower_components folder.

Credits

Icons made by Papedesign from www.flaticon.com is licensed by CC 3.0 BY