Gamification of Zeus member engagement (with GitHub integration)!
This uses an old ruby version, use something like rbenv
to manage it.
This project also uses capistrano
to manage deployment, after doing bundle install
also intall capistrano with gem install capistrano
.
Now you can deploy to production with cap production deploy
.
You can also do seeding and similar tasks with cap production rails:rake:db:seed
.
Make sure the database supports utf8, a migration has been added to set some settings. For others root acces is required.
Set these global variables with mysql -u root
as well:
SET GLOBAL innodb_file_format=Barracuda;
SET GLOBAL innodb_file_per_table=ON;
SET GLOBAL innodb_large_prefix=1;
If gamification misses the webhook that a repository was created, it will never add it.
Fix this by adding it manually in the console:
Repository.create_or_update({'name' => 'g2-backend', 'html_url' => 'https://github.com/zeuswpi/g2-backend', 'clone_url' => 'https://github.com/ZeusWPI/g2-backend.git'})
if necessary, first delete the repository in both the console and the actual repository on the filesystem