Rails.Svn History
Hide minor edits - Show changes to markup
April 19, 2008, at 05:22 AM
by 78.188.55.33
Changed lines 28-29 from:
# Eger model oluştururken "-c" parametresi ile subversion'a ekler dosyaları
# otomatik olarak.
to:
# "-c" parametresi ile subversion'a ekler dosyalari otomatik olarak.
Changed lines 37-40 from:
to:
=]
Kaynaklar:
- http://railscasts.com/episodes/36
April 19, 2008, at 05:21 AM
by 78.188.55.33
Added lines 1-38:
(:code:)
$ 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"
# Eger model oluştururken "-c" parametresi ile subversion'a ekler dosyaları
# 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"