Project

General

Profile

Starting RedMine on BlueHost (hosted site)

Added by Cheryl A over 10 years ago

mysql - database
Rails 3.2.17
ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux
redmine-2.5.1
env: hosted environment on BLUEHOST

First completed all step found here:
https://my.bluehost.com/cgi/help/redmine

[~/rails_apps/redmine-2.5.1]# rake db:migrate RAILS_ENV=production
--trace
  • Invoke db:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Invoke db:load_config (first_time)
  • Execute db:load_config
  • Execute db:migrate
  • Invoke db:_dump (first_time)
  • Execute db:_dump
  • Invoke db:schema:dump (first_time)
  • Invoke environment
  • Invoke db:load_config
  • Execute db:schema:dump
    [~/rails_apps/redmine-2.5.1]# rails server
    => Booting WEBrick
    => Rails 3.2.17 application starting in development on http://0.0.0.0:3000
    => Call with -d to detach
    => Ctrl-C to shutdown server
    [2014-04-25 12:00:43] INFO WEBrick 1.3.1
    [2014-04-25 12:00:43] INFO ruby 1.9.3 (2013-05-15) [x86_64-linux]
    [2014-04-25 12:00:43] INFO WEBrick::HTTPServer#start: pid=29997 port=3000

This appears to have started, but I am not aware of how to see the application from my hosted environment. Do I need to create a subdomain with a symbolic link to the directory?

/rails_apps/redmine-2.5.1 - working directory


Replies (1)

RE: Starting RedMine on BlueHost (hosted site) - Added by Cheryl A over 10 years ago

I just checked rails -v its rails 4.1.0. Hopefully this is OK
I also added this symbolic link

[~]# ln -s /rails_app/redmine-2.5.1/public redminesub
[
]# rails -v
Rails 4.1.0
[~]# ruby -v
ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux]
    (1-1/1)