diff options
| author | hukl <contact@smyck.org> | 2009-02-22 21:55:11 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-22 21:55:11 +0100 |
| commit | 192669f512873094c528a5bded42502c99c44ca9 (patch) | |
| tree | e6176ab9556b8b598f74a34d1618292a98d0486b | |
| parent | efb2263c3c8f987cae801f56e669e28130bb10da (diff) | |
updated readme for github
| -rw-r--r-- | README.rdoc | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/README.rdoc b/README.rdoc index 1172fc8..b9ed257 100644 --- a/README.rdoc +++ b/README.rdoc | |||
| @@ -2,22 +2,16 @@ | |||
| 2 | 2 | ||
| 3 | ==Setup | 3 | ==Setup |
| 4 | 4 | ||
| 5 | git clone git://github.com/hukl/cccms.git | 5 | • git clone git://github.com/hukl/cccms.git |
| 6 | 6 | • git submodule init | |
| 7 | git checkout --track -b poc1 origin/poc1 | 7 | • git submodule update |
| 8 | 8 | • create a database.yml in /db | |
| 9 | git submodule init | 9 | • rake db:migrate |
| 10 | 10 | • untar db/updates.tbz | |
| 11 | git submodule update | 11 | • rake cccms:create_admin_user (admin:foobar) |
| 12 | 12 | • rake cccms:import_updates | |
| 13 | ==Import old xml files | 13 | • rake cccms:create_homepage |
| 14 | 14 | • ./script/server to start the webserver | |
| 15 | extract db/updates.tbz | ||
| 16 | |||
| 17 | start a script/console and execute the following commands: | ||
| 18 | |||
| 19 | i = UpdateImporter.new("#{RAILS_ROOT}/db/updates") | ||
| 20 | i.import_xml | ||
| 21 | 15 | ||
| 22 | ==Documentation | 16 | ==Documentation |
| 23 | 17 | ||
