I want to import my app from github to run on Digitalocean. I am currently running Ubuntu Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn).
Step I took so far after setting up a new droplet…
run into the problem…
“A server is already running. Check /home/rails/tmp/pids/server.pid.” after I tried “rails s”
Is this the correct way to do it? if not how exactly should I go about deploying my rails app from github?
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!
Sorry I don’t quite understand step 1. Can you explain more? create /home/index.html in app/view folder? how to point your route there?
ok i figured it out
/home/index.html as your first/index page and point your route there before you push to gitapt-get install gitcd /home/railsgit clone YOUR_REMOTE_ADDRESSmv OLD_FOLDER NEW_FOLDERrake 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”, it was because i kept running rails by using rails s …duh
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.