1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Removed unused files

This commit is contained in:
2015-04-15 13:44:40 +00:00
parent 2b1618c69b
commit 0e0fbb649d
5 changed files with 0 additions and 43 deletions

View File

@@ -1,31 +0,0 @@
class Bout
def matchesByRound(round, matches)
@matches = matches.select {|m| m.round == round}
return @matches
end
def giveBout(matches)
@matches = matches.sort_by{|x|[x.weight_max]}
@matches.each_with_index do |m, i|
bout = m.round * 1000 + i
m.boutNumber = bout
end
return @matches
end
def assignBouts(matches)
@round = 1
until matchesByRound(@round, matches).blank? do
@matches = matchesByRound(@round, matches)
giveBout(@matches)
@round += 1
end
return matches
end
end

View File

@@ -1,8 +0,0 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" %>
</br>
</br>
</br>
The server is running processes in the background.
</br>
Please allow up to 10 minutes for all matches to be created.
<br>

View File

@@ -1,2 +0,0 @@
run delayed jobs in dev
rake jobs:work

View File

@@ -1 +0,0 @@
mysqldump -h db.codywimer.com -u heroku_jcw -p wrestlingtourney | mysql -h localhost -u root -ppassword wrestlingtourney

View File

@@ -1 +0,0 @@
mysql -u root -ppassword -e 'CREATE DATABASE wrestlingtourney;'