App created for teaching purposes
Please do not consider alll used names as serious ones. They are just ad hoc names created suring explaining Rails magic ;)
#Steps to start application
- go to the folder where you want to save the app
- run
git clone https://github.com/nidalaa/my_app.git
, all files will be copied - run
cd my_app
[to change directory] - run
rails server
orrails s
orrails server -p 4000
- take a look at config.routes.rb file
- find StartsController (please mind inheritance)
- find find view for action specifided in routes
- find application layout
- play with existing views and layout
- try to add new view for StartsController
- try to add new controller with two action
- play with routes-controller-view process
- add some styles in app/assets/stylesheets/application.css