【正文】
以使用下面命令設(shè)置它:ALTER DATABASE redmine_db SET datestyle=ISO,MDY。ruby , Rails Rack ruby , Rails Ruby amp。所以不需要特別改動。SQLite 3 2. 創(chuàng)建一個空的數(shù)據(jù)庫及相應(yīng)的用戶,命名為Redmine。grant all privileges on redmine.* to 39。CREATE DATABASE redmine WITH ENCODING=39。在這些版本中可以使用以下命令 rake generate_session_store5. 創(chuàng)建數(shù)據(jù)庫結(jié)構(gòu)。你就可以看到應(yīng)用的歡迎頁面。從開始菜單中選擇Start Command Prompt with Ruby按著下面命令的提示做。 Installing Redmine SMTP server ConfigurationOfficial releases include the appropriate Rails version in their vendor directory. So no particular action is needed.If you checkout the source from the Redmine repository, you can install a specific Rails version on your machine by running:gem install rails v=Notes: Ubuntu OS: development libraries can be installed with (or similiar): sudo aptitude install localhost39。my_password39。 it was deprecated as of r3054. On these versions, runrake generate_session_store5. Create the database structure, by running the following mand under the application root directory:RAILS_ENV=production rake db:migrateIt will create tables and an administrator account.6. Insert default configuration data in database, by running the following mand:RAILS_ENV=production rake redmine:load_default_dataThis step is optional but highly remended, as you can define your own configuration from scratch. It will load default roles, trackers, statuses, workflows and enumerations.7. Setting up permissionsNB: Windows users have to skip this section.The user who runs Redmine must have write permission on the following subdirectories: files, log, tmp (create the last one if not present).Assuming you run Redmine with a redmine user:mkdir tmp public/plugin_assetssudo chown R redmine:redmine files log tmp public/plugin_assetssudo chmod R 755 files log tmp public/plugin_assets8. Test the installation by running WEBrick web server:ruby script/server webrick e productionOnce WEBrick has started, point your browser to ://localhost:3000/. You should now see the application wele page.9. Use default administrator account to log in: