source: de.wigbels.ruby/contact/setup_log_contact.txt@ e9f5e39

Last change on this file since e9f5e39 was 7b7d827, checked in by njw <njw@…>, 11 years ago

opened projects: hothotwrite and contact

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