Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

ZeusWPI/gamification

Repository files navigation

Gamification of Zeus member engagement (with GitHub integration)!

Dev

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.

UTF-8 issues

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;

source

Fixing a missed webhook

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

About

Gamification of Zeus member engagement. Replaced by gamification2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published