Initial Configuration of a RAILS Application
Copy the example database configuration and adapt it to fit your needs:
Create the database:
Migrate the database scheme:
Fire up internal webrick based rails server and test your application:
You might also do the same for your development environment.
$ cp config/database.yml.example config/database.yml [..adapt config..]
Create the database:
$ RAILS_ENV="production" rake db:create
Migrate the database scheme:
$ RAILS_ENV="production" rake db:migrate
Fire up internal webrick based rails server and test your application:
$ RAILS_ENV="production" rails server
You might also do the same for your development environment.



