搭建环境及其遇到的问题
搭建环境:
Installation on Ubuntu 10.04 :Installation Steps:1.Setting up the Rails development environmentRuby, rubygems, rails and other required packages can be installed by :"sudo apt-get install rails"2.Setting up MySQL serverFedena uses mysql, so run,"sudo apt-get install mysql-server mysql-client libmysql-ruby"Do remember the mysql password you set during this step, it is required in step five.3.Download the latest Fedena source code from githubDownload Fedena source code from GitHub. Extract the downloaded .tar archive to a convenient location where you would be running fedena . Let us say we extracted it to a directory named fedena in my home(~) directory.4.Install Rails version 2.3.5Fedena runs on version 2.3.5 of rails, so open a terminal and run,"sudo gem install rails -v=2.3.5"5.Setup your database details in the database.ymlOpen the file database.yml in the config folder of the fedena soucre. Change the following details:database: fedena - The name of the database you want to use for fedenausername: root - Mysql username for fedenapassword: mypass - The password for the above mysql user6.Install the prawn gemRun "sudo gem install prawn -v=0.6.3"7.Install the rest of the gemsOpen a terminal and navigate to the fedena source directory, install the rest of the gems by running"sudo rake gems:install"8.Set up Fedena databasesFrom the Fedena source directory in terminal run, "rake db:create" followed by, "rake db:migrate"9.Change permissions for scriptsFrom the same directory grant executable permissions for the files in script directory by,"chmod +x script/*"10.Run the inbuilt serverIf everything went fine till now, you are ready to run fedena server by running the following from fedena source folder,"script/server"Fedena Configurations :1. To enable SMS Modulei) Add a new row with config_key = "AvailableModules" and config_value = "SMS" (without quotes,case-sensitive) to `configurations` Tableii) Update the SMS API settings in lib/sms_manager.rb to use the SMS Module.2. To disable HR module, delete the row with config_key = "AvailableModules" and config_value = "HR"3. To disable Finance module, delete the row with config_key = "AvailableModules" and config_value = "Finance"
Agent admitted failure to sign using the key.Permission denied (publickey).
""""""""""""""""""""""""""""""""""""""" 文件设置""""""""""""""""""""""""""""""""""""""set encoding=utf-8set fileencoding=chineseset fileencodings=ucs-bom,utf-8,chineseset ambiwidth=double