Last change
on this file since 723d436 was 7b7d827, checked in by njw <njw@…>, 11 years ago |
opened projects: hothotwrite and contact
|
-
Property mode
set to
100644
|
File size:
761 bytes
|
Rev | Line | |
---|
[7b7d827] | 1 | setup-log contact
|
---|
| 2 |
|
---|
| 3 | rails contact -- setup app
|
---|
| 4 |
|
---|
| 5 | mysqladmin -u root -p create contact -- setup dbms
|
---|
| 6 | rake db:migrate -- tests, if dbms is ready
|
---|
| 7 |
|
---|
| 8 | ruby script/generate model entry -- setup model for contact-entrys
|
---|
| 9 | ruby script/generate controller admin -- setup mvC for contact-entrys
|
---|
| 10 |
|
---|
| 11 | edit app/controllers/* -- setup scaffolding for a rough implementation of admin-interface
|
---|
| 12 |
|
---|
| 13 | ruby script/generate migration xxx --changes to dbms or creation of testdata
|
---|
| 14 |
|
---|
| 15 | ruby script/generate scaffold entry admin --setup static scaffolding
|
---|
| 16 |
|
---|
| 17 | rake db:sessions:create -- to store sessions via database; easy replication over server-boundaries
|
---|
| 18 | active it in config->environment.rb
|
---|
| 19 | rake db:sessions:clear --delete content from sessiontable, if you changed something there
|
---|
Note:
See
TracBrowser
for help on using the repository browser.