Skip to content

kudelabs/roc-lab1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, Welcome to Rails on Campus.

This is the sample code from Lab #1. Hopefully you had a chance to work on this in class and have your own version. If not, feel free to download this and use it as a starting point for Lab #2.

Topics covered in this Lab include:

+ Making sure your Rails environment is properly set up
+ Creating a new Rails application
+ Generating a model and scaffold
+ Basic HTML and CSS to build a working web application 

Versions used for this code:

+ Rails 3.1.1
+ ruby 1.9.2
+ see Gemfile for more information

Instructions:

+ download the code https://github.com/kudelabs/roc-lab1 either with git or as a zip file
$ cd roc-lab1
$ bundle install
$ rake db:migrate
$ rails server
+ Goto http://localhost:3000


Additional resources:

+ http://Railsinstaller.org
+ https://github.com/downloads/kudelabs/roc-lab1/Rails%20on%20Campus%20-%20SCAU.pdf
+ http://guides.rubyonrails.org/getting_started.html


Rails on Campus is a program started by Leon Du and Shaokun Wu, 2 ruby developers in Guangzhou, China. The idea is to build a good set of material for introduction courses that can be used to teach Rails on college campuses. In Guangzhou, and many other areas around the world, college students are often not exposed to newer technology, and are left to learn on the job. The goal of this program is to introduce students to a new world of open source development frameworks that are quite popular around the world. Not just Rails, but also things like Node.js or Python/Django. 

Rails on Campus is sponsored by:
+ gzruby - The Guangzhou Ruby Group http://groups.google.com/group/gzruby
+ Kudelabs http://kudelabs.com
+ Beansmile http://beansmile.com 

About

Sample code for Rails on Campus, Lab #1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published