Prev | Current Page 117 | Next

David Berube

"Practical Reporting with Ruby and Rails"

. .
create public/404.html
create public/500.html
create public/index.html
create public/favicon.ico
create public/robots.txt
create public/images/rails.png
create public/javascripts/prototype.js
create public/javascripts/effects.js
create public/javascripts/dragdrop.js
create public/javascripts/controls.js
create public/javascripts/application.js
create doc/README_FOR_APP
create log/server.log
create log/production.log
create log/development.log
create log/test.log
Rails creates quite a few files and directories for you, in a directory structure that will
hold the code that makes up our application. All of these directories and files are stored
in a directory named after the project. In this case, the directory is actor_schedule, and so
all of the paths in this example will be underneath the actor_schedule directory.
CHAPTER 5 n CONNECTING YOUR REPORTS TO THE WORLD 77
Setting Up the Database
Next, let??™s create the database to store the data:
mysqladmin create actor_schedule_development -u your_mysql_username -p
At this point, you??™ve created a database for your application, but before you populate
this database, let??™s connect the application to your database server.


Pages:
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
Moloko Ky-Mani Marley Michael Makai MC Hammer teksty pl mapa