diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-02-26 20:07:42 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-02-26 20:07:42 -0500 |
commit | 81edd21f907d9da523dae3bc5f3017355dca7dba (patch) | |
tree | 7b9710b05a60b55306b775b99dd2b5df1c3b406c /generate.sh | |
parent | 21cc8930b7821075fce8bbcb3f68dcd8fe081ff0 (diff) |
Possibly broke everything. Added another model for populating tournament options.
Diffstat (limited to 'generate.sh')
-rwxr-xr-x | generate.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generate.sh b/generate.sh index 666869c..52d0f90 100755 --- a/generate.sh +++ b/generate.sh @@ -4,7 +4,8 @@ # To Start Rails Server: # bundle exec rails server # -# +# To Clear the Generated Files: +# # set -x @@ -20,6 +21,11 @@ bundle exec rails generate scaffold pm author:references recipient:references me bundle exec rails generate model server_settings bundle exec rails generate controller search bundle exec rails generate controller main + +#for the tournament controller to generate options +bundle exec rails generate model tournament_options + bundle exec rake db:drop RAILS_ENV=development bundle exec rake db:migrate RAILS_ENV=development + #bundle exec rails generate scaffold |