anchoring_mng
============= This is a rails application for manageing anchorings.
Requirement: ruby 1.9.3 rails 3.2.13
Installation:
- install ruby 1.9.3
- install rails 3.2.13 gem install rails -v 3.2.10
- install bundles enter to root directory of the application, bundle install
Deployment:
-
install apache2
-
istall passenger $ sudo gem install passenger $ sudo passenger-install-apache2-module
-
configure virtual host <VirtualHost *:80> ServerName depot.yourhost.com DocumentRoot /home/rubys/work/depot/public/ <Directory /home/rubys/work/depot/public> Order allow,deny Allow from all
-
install mysql
-
load the database rake db:setup RAILS_ENV="production"
Windows Deployment:
- download and install Microsoft Web Planform Instaler
- add Helicon Zoo Feed
- install Zoo->Templates->Ruby Project
- in Helicon Manager for IIS express, start Web console 4.1 gem install rails 4.2 rails new . 4.3 copy rails app file to the folder 4.4 bundle install
- create en empty web-site via IIS manager, and enable write permissions for the entire web site folder
- copy the files craete before in Helicon Manager for IIS manager to the web-site folder
- start web console in Helicon Manager for IIS 7.1 type and execute command: rake assets:precompile
- rename the deploy_sample.rb to deploy.rb, and access the web site via browser, and the Helicon is going to the deplay the application
- After all above has been done, you are ok the access the application.