- Download ova (virtualbox image) from bitnami webpage
- Start ova at virtualbox
- INSTALL SQLITE3 GEM FOR RUBY
gem install sqlite3-ruby - disable bundle deployment mode.
bundle install --no-deployment - Start to configure the environment settings.
5-1. Set sqlite database
cd REDMINE
CONFIGURE DATABASE
echo “production:” > config/database.yml &&
echo " adapter: sqlite3" >> config/database.yml &&
echo " database: db/redmine.sqlite3" >> config/database.yml
5-2. POPULATE DATABASE
cd REDMINE
rake db:migrate RAILS_ENV=“production”
rake redmine:load_default_data RAILS_ENV=“production”
5-3. Create secret_token
cd REDMINE
echo “production:” > config/secrets.yml
echo " secret_key_base: $(rake secret)" >> config/secrets.yml - Change the permission of folder of redmine
chmod 777 /home/bitnami/apps/redmine -Rf - Restart redmine again
/home/bitnami/stack
./ctlscript.sh restart
2020年10月26日 星期一
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言