foodsoft/README_DEVEL

61 lines
1.4 KiB
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
README for DEVELopment Project Setup
====================================
Gratulations, you have successfully checked out the foodsoft project
form the subversion repository. Now you are only a few steps away from
trying it out and then jumping into development.
Configure datebase
------------------
Create at least one local databases and then configure database access.
cp config/database.yml.SAMPLE config/database.yml
Edit database.yml to specify connection parameters.
Configure Development Environment
---------------------------------
You need to create your own copy of the development environment configuration:
cp config/environments/development.rb.SAMPLE config/environments/development.rb
Edit development.rb to specify your settings (e.g. ActionMailer SMTP settings).
Configure Foodsoft
------------------
You need to create your own copy of the foodsoft configuration settings:
cp config/foodsoft.yml.SAMPLE config/foodsoft.yml
Edit foodsoft.yml to suit your needs.
Create log files
----------------
The WEBrick server will complain if these do not exist.
touch log/development.log
touch log/test.log
touch log/production.log
touch log/server.log
Create database schema
----------------------
rake db:schema:load
Create user admin with password secret
--------------------------------------
rake foodsoft:create_admin
Try it out
----------
Start the WEBrick server to try it out:
script/server