-
-
Save imxmacoyx/c9c6534f63a165e801f5e831b60aea14 to your computer and use it in GitHub Desktop.
Ruby On Rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd ~/folder_projects | |
$ rails new name_project #create project On Rails | |
$ cd name_project | |
$ vim Gemfile #view conf | |
$ bundle install #Install requeriments | |
# Modeling demo microposts | |
# example | |
$ rails generate scaffold User name:string email:string | |
# No need instance id | |
# Migrate model with rake | |
$ bundle exec rake db:migrate | |
#execute server | |
$ rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment