Anyone got a script to share that:
- Creates a trunk directory
- Creates a trunk/vendor directory
- Adds the above to svn
- Modifies trunk/vendor to use a certain rails revision (i.e. trunk or
1.1) - Runs trunk/vendor/rails/…/bin/rails to generate a rails directory
skeleton - Modifies the svn:ignore for the logs and config/database.yml
- Moves config/database.yml to config/database.yml.sample
- Adds a script/reload_everything.sh.sample script to scripts/ that
8a. Drops the dev and test database
8b. Reloads the dev and test database
8c. Performs migration on the dev and test database
8d. Runs rake load_fixtures (to populate the dev database)
8e. Runs rake to run the tests - Ignores script/reload_everything.sh
I think that’s it. Just wondering if anyone’s done something like
that before I make my own. That’s generally the process I follow when
creating a new Rails project.
Joe