This file contains hidden or 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
# start creating a new Rails application | |
rails silly_blog | |
cd silly_blog | |
# put it under version control with Git | |
git init | |
git add . | |
git commit -a -m "first commit" | |
# we are in "master" branch |
This file contains hidden or 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
# iniziamo creando una nuova applicazione Rails | |
rails silly_blog | |
cd silly_blog | |
# portiamola sotto version control con Git | |
git init | |
git add . | |
git commit -a -m "first commit" | |
# siamo nel "master" branch |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'friendly' | |
Friendly.configure( | |
:adapter => 'mysql', | |
:host => 'localhost', | |
:user => 'root', | |
:password => '', |