Rails + SVN generation script

J

Joe Van Dyk

Anyone got a script to share that:

1. Creates a trunk directory
2. Creates a trunk/vendor directory
3. Adds the above to svn
4. Modifies trunk/vendor to use a certain rails revision (i.e. trunk or 1.=
1)
5. Runs trunk/vendor/rails/.../bin/rails to generate a rails directory ske=
leton
6. Modifies the svn:ignore for the logs and config/database.yml
7. Moves config/database.yml to config/database.yml.sample
8. 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
9. 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,006
Latest member
LauraSkx64

Latest Threads

Top