Meeting Notes: Last Wednesday

0 views
Skip to first unread message

Liana

unread,
Dec 21, 2009, 10:05:01 AM12/21/09
to Open Source Code Crunch
Hello All,

As promised, here are my meeting notes from last Wednesday. This
afternoon, I will be posting the application we built together on Git
and instructions on how to fork your own repo and post back to master.

Best,
Liana

        1.  Create new ror app 
>> rails oscc

        2.  Create Agenda scaffold & migration
>> ruby script/generate scaffold Agenda title:string description:string

        3.  edit your db yml
** open database.yml file and add database name, username and password

        4.  create database
** create oscc_development,oscc_test, oscc_production databases
rake -T db will list all database rake tasks
>>rake db:create

        5.  create tables
>> rake db:migrate

        6.  Run app
>> ruby script/server

        7.  View app
>> http://localhost:3000/agendas

        8.  Add Validations to model

>> validates_presence_of :title, :description   

validates_presence_of :title, :description

Tarish

unread,
Dec 29, 2009, 3:12:38 PM12/29/09
to Open Source Code Crunch
Just curious if you've had a chance to post the app to Git yet. If
so, what is the link?
Thanks!

Tarish

Reply all
Reply to author
Forward
0 new messages