My web application hosted on a digital ocean droplets stops working suddenly. What can it be?
Related
So, I have a client who wants his site hosted on GoDaddy, and it's a RoR site I built for him. It's on a VPS server, so I can connect via SSH and do everything I need to do, but I'm not sure what I should do to actually serve the site. On Digital Ocean I would have installed and configured Puma and Nginx, but I'm not sure if I should configure something through CPanel instead.
If so, I'm not sure how to do that. Anyone had any experience with this?
I talked my client into using Digital Ocean. GoDaddy is a nightmare for Rails.
I have been deploying my rails app to digitalocean on ubuntu OS and it's working fine. However, I would like to deploy my rails app on a local ubuntu network.
I have tried to setup rails on ubuntu and it's working fine and I am able to open network access with port 3000 by the same network to access via
$ rails server -b 0.0.0.0
This a bit slow from another local network computer to access. What is the better way where I can deploy rails app to my local server and only for same local network usage.
I have been doing the same thing on a Raspberry pi with several projects.
You can actually treat your local server like an external one. You can deploy on the local server using capistrano.
Just make sure that your app on your local server will be deployed as production, not development. I would also recommend NGINX and unicorn for performance and zero downtime deployment.
I recently switch from using Heroku to DigitalOcean. I have to say that nothing beats the pleasure of using Heroku, unless the concern is about server location, and price.
Deploying my existing Rails app from Heroku to Digital Ocean with Dokku is pretty smooth, but I wonder if Nginx is being used to serve the Rails app.
The answer is no. I stop Nginx, and the server is still serving the app.
I have created one Cent Os Virtual Machine on windows Azure for deploying my rails application. I am using the following steps for accessing my app..
1.Doing SSH to my app xxx.cloudapp.net
2.Giving rails s command in my app directory.
I am able to view my app running on azure cloud. But the problem is server gets stopped for every 10-15 minutes and again I need to restart my server with rails s
Am I following the correct procedure or is there any other method to keep the server continuously running?
Hi i have created a ubuntu virtual machine in windows azure for deploying my rails application..
I have connected to my virtual machine through ssh and followed this procedure for deployment
<http://www.andrehonsberg.com/article/install-rvm-ubuntu-1204-linux-for-ruby-193>
<http://www.windowsazure.com/en-us/develop/ruby/tutorials/web-app-with-linux-vm/>
My deployment was completed successfully.
While starting my server by running rails s in my application i am able to see my application up and running in browser.
My issue is the server is stopped for every 10 minutes and again i have to connect to my server through ssh and need to give rails s..
i want a solution to run my application continously..
The problem is you haven't actually "deployed" anything. You just copied your rails app to a VM and ran rails s.
A production rails applications is not deployed in this fashion.
Consider using either nginx with unicorn or apache/nginx with passenger.