#36 Subversion on Rails

This episode will walk you through setting up a Rails project on subversion. It covers some helpful tips and gotchas you may experience along the way.

mkdir svn_setup
cd svn_setup/
rails blab
cd blab
mv config/database.yml config/database_example.yml
rm -r log/*
rm -r tmp/*
cd ..
mv blab trunk
mkdir tags
mkdir branches
svn import . svn://localhost/blab -m "initial import" --username rbates
cd ../
svn co svn://localhost/blab/trunk blab
cd blab
cp config/database_example.yml config/database.yml
svn propset svn:ignore database.yml config/
svn propset svn:ignore "*" log/
svn propset svn:ignore "*" tmp/
svn commit -m "ignoring files"

你可能感兴趣的:(SVN,UP,subversion,Rails)