I recently setup a droplet using one-click setup with “Ubuntu Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn)”. Now I want to cloned my rails application from github to run on digitalocean.
How do I go about this? What are the procedures?
I tried for two days now. It still won’t display my application index page when I spin up rails server that I cloned from Github. It keeps showing the default “Digitalcoean Rails” page. And I can’t access my site from the browser at port 3000.
PLEASE HELP! : (
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
ok i figured it out
apt-get install gitcd /home/railsgit clone YOUR_REMOTE_ADDRESSrailsrake db:drop db:create db:migraterails s --binding=YOUR_IP_ADDRESSI 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.