How to Install a Github Ruby On Rails Project on a Digital Ocean Droplet -



How to Install a Github Ruby On Rails Project on a Digital Ocean Droplet -

i have digital ocean droplet automatically sets ruby on rails on ubuntu 14.04 nginx , unicorn. i'm trying ruby on rails application running github (https://github.com/harrystech/prelaunchr) copying files on doesn't seem working. i'm not rails expert, help can give great. looks github project complete, working app, need figure out how working on digital ocean droplet. can't find guides on either!

edit: figured out help digital ocean! install ruby on rails droplet, , ssh droplet , following:

rm -rf /home/rails/* cd /home/rails/ git clone https://github.com/harrystech/prelaunchr.git . nano gemfile # add together "gem 'mysql2'" nano config/database.yml # alter 'postgres' 'mysql2' , add together user/pass database gem list | cutting -d" " -f1 | xargs gem uninstall -aix # uninstall gems might conflict bundle install bundle exec rake db:create db:schema:load db:seed nano config/environments/production.rb # set `config.assets.compile = true` chown -r rails:www-data * service unicorn restart exec bundle rails s -d

your app should , running @ yourip:3000 woo hoo!

i figured out help digital ocean! install ruby on rails droplet, , ssh droplet , following:

class="lang-sh prettyprint-override">rm -rf /home/rails/* cd /home/rails/ git clone https://github.com/harrystech/prelaunchr.git . nano gemfile # add together "gem 'mysql2'" nano config/database.yml # alter 'postgres' 'mysql2' , add together user/pass database gem list | cutting -d" " -f1 | xargs gem uninstall -aix # uninstall gems might conflict bundle install bundle exec rake db:create db:schema:load db:seed nano config/environments/production.rb # set `config.assets.compile = true` chown -r rails:www-data * service unicorn restart exec bundle rails s -d

your app should , running @ yourip:3000 woo hoo!

ruby-on-rails github digital-ocean

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -