I used the one-click setup from digitalocean to setup an "Ubuntu Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn)" server.
I successfully cloned and bundle install and migrate my database. However, when I run my server using 'rails s'. I can't seems access it from port 3000.
I am suspecting it has something to do with the pre-configuration digitalocean has setup.
does anyone knows the proper way to do this?
ok i figured it out
/home/index.html
and point your route there before you push to gitapt-get install git
cd /home/rails
git clone YOUR_REMOTE_ADDRESS
rake db:drop db:create db:migrate
rails s --binding=YOUR_IP_ADDRESS
I was running
rails s
for the past few days wondering why it is just showing the default "digitalocean rails page"anyways, i hope this could help someone in the future.