Skip to content

Gamecredits Crowdfunding Platform : Donate Gamercredits to public open source github projects or make commits and get Gamecredits.

License

Notifications You must be signed in to change notification settings

Gamecredits-Universe/code4gamecredits

Repository files navigation

Code4gamecredits

gamecredits tip for next commit bitcoin tip for next commit

Donate gamecredits to open source projects or make commits and get tips for it.

Official site: http://code4gamecredits.com/

Development

To run code4gamecredits in development mode follow these instructions:

  • Install Ruby 1.9+

  • Install the bundler gem (you may need root):

gem install bundler
  • Install git

  • Clone the repository

git clone git@github.com:sigmike/code4gamecredits.git
cd code4gamecredits
  • Install the sqlite3 development libraries

  • Install the gems (without the production gems):

bundle install --without mysql postgresql
  • Create database.yml.
cp config/database.yml{.sample,}
  • Create config.yml
cp config/config.yml{.example,}
  • Edit config.yml

  • Initialize the database

    bundle exec rake db:migrate
  • Make sure gamecreditsd is running with RPC enabled

  • Run the server

    bundle exec rails server

  • Connect to the server at http://localhost:3000/

To update the project balances run this command:

    bundle exec rails runner "BalanceUpdater.work"

To retreive commits and send tips on project that do not hold tips:

    bundle exec rails runner "BitcoinTipper.work"

License

MIT License

Based on Tip4commit, MIT License, copyright (c) 2013-2014 tip4commit

About

Gamecredits Crowdfunding Platform : Donate Gamercredits to public open source github projects or make commits and get Gamecredits.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages