blob: 28d19361bdaffbfc8c4108c149685e8773928fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
#
# To Start Rails Server:
# bundle exec rails server
#
#
#
set -x
bundle exec rails generate scaffold server
bundle exec rails generate scaffold tournament
bundle exec rails generate scaffold match tournament:reference
bundle exec rails generate scaffold team
bundle exec rails generate scaffold user name:text pw_hash:varchar groups:int
bundle exec rails generate model user_team_pair user:reference team:reference
bundle exec rails generate model team_match_pair team:reference match:reference
bundle exec rails generate scaffold alert author:reference message:text
bundle exec rails generate scaffold pm author:reference recipient:reference message:text
bundle exec rails generate model server_settings
bundle exec rails generate controller search
bundle exec rails generate controller main
bundle exec rake db:drop RAILS_ENV=development
bundle exec rake db:migrate RAILS_ENV=development
#bundle exec rails generate scaffold
|