Simple tournament manager for Super Smash Bros. matches (Ruby on Rails project)
Local commands:
-
bundle update
-
rake db:migrate
-
rake db:rollback
-
rails s
-
rails c
-
dropdb swisssmash_development
-
heroku pg:pull <postgresql-name> swisssmash_development --app swisssmash
-
heroku pg:reset --app swisssmash-stage --confirm swisssmash-stage
-
heroku pg:push swisssmash_development <postgresql-name> --app swisssmash-stage
Stage commands:
-
git push stage :master
-
heroku logs --tail --remote stage
-
heroku run rake db:migrate --remote stage
-
heroku run rails c --remote stage
-
heroku restart --remote stage
-
heroku run rake tournaments_crawler_ch:all --remote stage
-
heroku run rake "utils:remove_player_from_finished_tournament[<t_id>,<p_id>]" --remote stage
Prod commands:
-
git push prod master
-
heroku logs --tail --remote prod
-
heroku run rake db:migrate --remote prod
-
heroku run rails c --remote prod
-
heroku restart --remote prod
-
heroku run rake tournaments_crawler_ch:all --remote prod
-
heroku run rake tournaments_crawler_de:all --remote prod
-
heroku run rake tournaments_crawler_fr:all --remote prod
-
heroku run rake tournaments_crawler_lu:all --remote prod
-
heroku run rake tournaments_crawler_it:all --remote prod
-
heroku run rake tournaments_crawler_uk:all --remote prod
-
heroku run rake tournaments_crawler_ie:all --remote prod
-
heroku run rake tournaments_crawler_im:all --remote prod
-
heroku run rake tournaments_crawler_pt:all --remote prod
-
heroku run rake tournaments_crawler_is:all --remote prod
-
heroku run rake results_crawler_ch:all --remote prod
-
heroku run rake results_crawler_de:all --remote prod
-
heroku run rake results_crawler_fr:all --remote prod
-
heroku run rake results_crawler_lu:all --remote prod
-
heroku run rake results_crawler_it:all --remote prod
-
heroku run rake results_crawler_uk:all --remote prod
-
heroku run rake results_crawler_pt:all --remote prod
-
heroku run rake results_crawler_is:all --remote prod
-
heroku run rake "utils:remove_player_from_finished_tournament[<t_id>,<p_id>]" --remote prod
Note:
UK also includes Ireland (IE) & Isle of Men (IM) in this application.
General links:
- https://swisssmash.herokuapp.com
- https://www.swisssmash.ch
- https://germanysmash.herokuapp.com
- https://www.germanysmash.de
- https://francesmash.herokuapp.com
- https://www.smashultimate.fr
- https://luxsmash.herokuapp.com
- https://www.luxsmash.lu
- https://italysmash.herokuapp.com
- https://www.italysmash.it
- https://uksmash.herokuapp.com
- https://www.smashultimate.uk
- https://www.smashultimate.co.uk
- https://www.smashbrosportugal.com
- https://challonge.com
- https://braacket.com/league/ALLOFTHEM/tournament?rows=200
- https://braacket.com/league/SSBUCHPRs/tournament?rows=200
- https://braacket.com/league/SSBUDEPRs/tournament?rows=200
- https://braacket.com/league/SSBUFRPRs/tournament?rows=200
- https://braacket.com/league/SSBUITPRs/tournament?rows=200
- https://braacket.com/league/SSBUUKPRs/tournament?rows=200
- https://braacket.com/league/Portugal/tournament?rows=200
Tournaments crawler links:
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22CH%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22DE%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22FR%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22LU%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22IT%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22GB%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22IE%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22IM%22}&page=1&per_page=100&returnMeta=true
- https://start.gg/api/-/gg_api./public/tournaments/schedule?filter={%22upcoming%22%3Atrue%2C%22videogameIds%22%3A%221386%22%2C%22countryCode%22%3A%22PT%22}&page=1&per_page=100&returnMeta=true
- https://braacket.com/tournament/search?rows=100&country=ch&game=ssbu&status=1
- https://braacket.com/tournament/search?rows=100&country=de&game=ssbu&status=1
- https://braacket.com/tournament/search?rows=100&country=fr&game=ssbu&status=1
- https://braacket.com/tournament/search?rows=100&country=it&game=ssbu&status=1
- https://braacket.com/tournament/search?rows=100&country=lu&game=ssbu&status=1
- https://braacket.com/tournament/search?rows=100&country=gb&game=ssbu&status=1
- https://braacket.com/tournament/search?rows=100&country=pt&game=ssbu&status=1
- https://www.toornament.com/tournaments/?q[discipline]=supersmashbros_ultimate&q[platform]=nintendo_switch&q[type]=upcoming
Twitch API:
Icons:
- https://www.ssbwiki.com/Category:Head_icons_(SSBU)
- https://www.spriters-resource.com/nintendo_switch/supersmashbrosultimate/sheet/111395/
Banner:
Google Analytics:
Roles overview:
news | communities | tournaments | teams | players | users | feedback | inactive tournaments | alts | |
---|---|---|---|---|---|---|---|---|---|
super_admin | x | x | x | x | x | x | x | x | x |
admin | x | x | x | x | x | ||||
news_editor | x | ||||||||
community_editor | x | ||||||||
tournament_organizer | x | ||||||||
team_captain | x |