Rails + subversion guideline

J

Johan Allard

Hi,

I'm just about to upload my first rails application onto my production
web server and usually I use subversion to track changes and the a
after-commit hook to update the webserver. With rails, what is the best
practice of doing it? Should I not include the dispatch scripts in the
repository or is it enough to include the app directory and
public/stylesheets, javascript and so on. Some pointers on how to do
this in the best way would be most appreciative!

Thank you in advance

//johan
 
E

Eric Hodel

Hi,

I'm just about to upload my first rails application onto my production
web server and usually I use subversion to track changes and the a
after-commit hook to update the webserver. With rails, what is the
best practice of doing it? Should I not include the dispatch scripts
in the repository or is it enough to include the app directory and
public/stylesheets, javascript and so on. Some pointers on how to do
this in the best way would be most appreciative!

We've been including the whole thing, with a svn:ignore "*.log" set on
the log directory.

This way when we pull from the repo we have a complete development
environment.
 

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,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top