Install Redmine in Bluehost
Added by Yukos Vietnam over 15 years ago
hi All
I very like Redmine software, but I cannot install it on Bluehost (http://www.bluehost.com/)
May I get a support?
Step 1: I download latest version 0.8.0 from here: https://rubyforge.org/frs/?group_id=1850
Step 2: I can see support from Bluehost at: http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=232
So that: I did:
% mkdir ~/rails
% cd ~/rails
I would like to make Redmine with name: project, so that I did:
% rails project
% cd project
Step 3: I going to cPanel to make a subdomain as name project at /project (so it is in public_html)
Step 4: I do command as Bluehost asks
% cd ~/public_html/
% rm -r project
% ln -s /home/erpvncom/rails/first/public project (erpvncom is my user name in Bluehost)
I this time, Bluehost system generate system that includes folder as same as Redmine has
- app
- config
- db
- doc
- Extras
- Files
- Lang
- Lib
- Log
- public
- Sript
- Test
- Temp
- Vendor
- and Rake file
In this time - I go to http://project.erpvn.com and can get
Step 5: I upload file redmine-0.8.0.tar.gz that I downloaded in Step 1 into /rails/project (that mean /home/erpvncom/rails/project)
and extract this this file, so that system extract this file into redmine-0.8.0 folder
Step 6: I delete all folders in /rails/project (that all folders that Bluehost system generated)
Step 7: I copy all in redmine-0.8.0 folder into /rails/project overwrite all current folders
Step 8: I change file dispatch.fcgi.example in public folder to dispatch.fcgi
I setting up /rails/project/temp and /rails/project/log to 700 permission
Step 9: I go to: http://project.erpvn.com and get a error as:
Replies (9)
RE: Install Redmine in Bluehost
-
Added by Yukos Vietnam over 15 years ago
hi all
It is good news. I can install Redmine already in Bluehost.
I configure SMTP email notification, but I do not know how to restart Redmine.
Could you tell me how to restart Redmine?
Thanks in advance.
RE: Install Redmine in Bluehost
-
Added by Jean-Baptiste Barth over 15 years ago
If you didn't have to start a server (running a command such as "ruby script/server" or "mongrel_rails start" etc.), it probably means that your provider uses "mod_rails". You can try to go to your RAILS_ROOT directory (the main directory of redmine) and type this command : "touch tmp/restart.txt".
If it doesn't work, you should ask it on Bluehost forums : it has nothing to do with Redmine, your real question is "how to restart a rails application". And it depends on the way your provider manages its applications...
RE: Install Redmine in Bluehost
-
Added by Yukos Vietnam over 15 years ago
Thanks for your information. I got it - email notification is OK now.
Now, I would like to install "customer plugin"
Step 1: I downloaded this plugin and upload into /vendor/plugins, so that I have: /vendor/plugins/customer_plugin.
Step 2: I face with error once I do command
rake db:migrate_plugins
error as:
Migrating engines... rake aborted! Access denied for user 'root'@'localhost' (using password: NO)
RE: Install Redmine in Bluehost
-
Added by Jean-Baptiste Barth over 15 years ago
Seems you cannot get access to your database. If Redmine works fine, and you ran "db:migrate" successfully, I think you are not in the correct environment. You may add "RAILS_ENV=your_env" on the command line (replace "your_env" with "development" or "production")
RE: Install Redmine in Bluehost
-
Added by Yukos Vietnam over 15 years ago
hi
Thanks for your information.
I think that it is correct.
I found on Internet a document that help me to install Google_Analisys_plugin, and they need to add a command as:
sed 's|Redmine::Hook::ViewListener|Rails::Plugin|g' google_analytics_plugin/lib/google_analytics_hooks.rb > TMPFILE && mv TMPFILE google_analytics_plugin/lib/google_analytics_hooks.rb cd ~/public_html/customer - *Customer is my Redmine name* rake db:migrate_plugins RAILS_ENV="production"
I installed google_analisys_plugin completely.
I think that I need a command as same as this command for customer_plugin.
I will try to change google_analytics_plugin name to customer_plugin and will back to you soon
RE: Install Redmine in Bluehost
-
Added by Randy Black over 15 years ago
Hi Guys,
I installed it on my bluehost account as was documented by Yukos. I got to the Welcome Abord page and then changed my database.yml to reflect my settings after creating my db on bluehost. Then I followed the Redmine installation docs and:
rake db:migrate RAILS_ENV="production"
rake redmine:load_default_data RAILS_ENV="production"
chmod -R 755 files log tmp
I still cannot se anything except the "Welcome Aboard" page.
Picture_6.png (49.9 KB) Picture_6.png |
RE: Install Redmine in Bluehost
-
Added by Yukos Vietnam over 15 years ago
hi,
I followed this document in Bluehost forum and it is OK with me
RE: Install Redmine in Bluehost
-
Added by Chinh Do over 10 years ago
I followed the instruction at https://my.bluehost.com/cgi/help/redmine and at the end when I access the site I can only see (picture)
Index of /
Apache Server at redmine.iflesk.com Port 80
My last comamnd run successfully with the following result
[~/rails_apps/redmine]# rails generate controller First list
create app/controllers/first_controller.rb
route get "first/list"
invoke erb
create app/views/first
create app/views/first/list.html.erb
invoke test_unit
create test/functional/first_controller_test.rb
invoke helper
create app/helpers/first_helper.rb
invoke test_unit
create test/unit/helpers/first_helper_test.rb
invoke assets
invoke js
create app/assets/javascripts/first.js
invoke css
create app/assets/stylesheets/first.css
Have anyone faced the same problem? How did you fix that?
Thanks,
redmine-index-of.jpg (19.5 KB) redmine-index-of.jpg |
RE: Install Redmine in Bluehost
-
Added by Thangadurai Ponnusamy almost 9 years ago
How to configure redmine with HTTPS in Bluehost.
Thanks!