Skip to content

Instantly share code, notes, and snippets.

@mikeymicrophone
Created January 18, 2012 16:09
Show Gist options
  • Save mikeymicrophone/1633767 to your computer and use it in GitHub Desktop.
Save mikeymicrophone/1633767 to your computer and use it in GitHub Desktop.
These are the steps you will probably need to take, to get a new Rails app running.
1. install Rails
2. create a new Rails app
3. navigate into the root directory of your app
4. generate a scaffold
5. run your database migration
6. start the server
@mikeymicrophone
Copy link
Author

To see more hints on what commands to run, click on the version of this file which is linked on the right side of the page, 1711e7

@mikeymicrophone
Copy link
Author

once your app is running, open a browser and visit http://localhost:3000/resource_names
(a pluralized version of the word you used for your resource name - the thing you generated)

@mikeymicrophone
Copy link
Author

also, steps 5 and 6 can be done in either order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment