Rails /
Svn$ cd $ mkdir svn_setup $ cd svn_setup $ rails prj $ cd prj $ mv config/database.yml config/database.example.yml $ mv config/environment.rb config/environment.example.rb $ rm -r log/* $ rm -r tmp/* $ cd .. $ mv prj trunk $ mkdir branches tags $ svn import . svn://localhost/prj -m "Initial import" $ cd $ rm -rf svn_setup $ cd ~/Projects $ svn co svn://localhost/prj/trunk prj $ cd prj $ cp config/database.example.yml config/database.yml $ cp config/environment.example.rb config/environment.yml $ svn status $ svn propset svn:ignore database.yml config/ $ svn propset svn:ignore environment.rb config/ $ svn propset svn:ignore "*" tmp/ $ svn propset svn:ignore "*" log/ $ svn commit -m "ignoring files" # "-c" parametresi ile subversion'a ekler dosyalari otomatik olarak. $ ./script/generate model Task -c $ svn commit -m "new model Task" $ rake db:migrate $ svn add db/schema.rb $ svn commit -m "schma.rb" # Install a plugin and add a svn:externals entry to vendor/plugins $ ./script/plugin install a_plugin -x $ svn commit -m "adding a plugin" Kaynaklar: |