Deploying a Rails App on Hostgator (Already Have RoR on site) - ruby

I'm new to RoR, so I understand that the way I should be deploying a rail app is using Passenger. But I've been unable to find a thread where someone did all their development using their webserver/host, it seems everyone develops their app locally, then deploys it. Is there a way to work and edit your rail app directly on the server it's going to be hosted on? I'm using Rubymine to work on my app. (I'm basically trying to see if there is a straightforward way that I can develop code side my app - upload to server, see the results keep developing)
Thanks for the help!

Usually, capistrano is used for such a task.

Related

Lua MVC framework on Heroku

I have been developing a Web app in Lua via Sailor MVC framework on Windows with MySQL and Apache 2 using mod_lua.so.
Is there a way to run it successfully on Heroku platform or not?
Regards
Heroku doesn't officially support Lua (ref: https://devcenter.heroku.com/articles/buildpacks#officially-supported-buildpacks). That being said, there appear to be a number of third-party buildpacks that give you a Lua runtime. The first couple that showed up on Google seem somewhat stale. The good news is that you can create your own buildpack if none of the existing ones work for you.

Is there any alternative of Heroku for ruby on rails app to deploy live?

I wanted to deploy my ruby on rails app live I already try Herkou &
Aws. So is there any alternative of this?
You can deploy your ruby app on your VPS-server. It's so simple as configure development environment. And there are many information and solution of many issues for that.
You can deploy your ruby app on any server/hosting. Better if that use linux OS, but it can be something else.
If it's that you want, you can read this great article about deploy:
https://www.digitalocean.com/community/tutorials/deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-puma

stackmob addon for heroku

We're looking to build out our mobile app using Stackmob and Heroku for backend.
There is a Heroku Addon that enables a developer to control the app server-side logic using Rails.
There is not much documentation available on this addon nor are there examples.
There is a fair bit of media coverage on the add-on but no clear implementation and use-case path.
If any one in the community has some insight, we and other developers would sure benefit from hearing more.
I believe the StackMob Heroku add-on is discontinued. You can still sign up for StackMob directly on the StackMob site and use in your Heroku apps. They have multiple getting-started guides, including for Ruby, if that's what you use.
I'm the platform evangelist for StackMob.
friism is correct, we recently discontinued the StackMob Heroku add-on. (basically a way to provision an account and get up and running a little quicker on Heroku with StackMob)
This change won't prevent you from using StackMob on the Heroku platform.

How would I deploy a ruby app to a website?

Super new to programming.
Anyway, let's say I have a script that does something simple, like tells you the number of words you typed into a box (upon hitting a submit button) written in Ruby using Sinatra.
If I wanted this text box to show up on a webpage, like mysite.com/simple_app how would I set that up?
I apologize for the super noob question, but I have no idea where to start with this.
I checked out this question (http://stackoverflow.com/questions/9489803/how-to-turn-ruby-script-into-a-web-app) and since I already have working w localhost in Sinatra, I'm kind of wondering what's the next step.
I would very much recommend you try out Heroku.
As you're relatively new to programming, you don't want to mess with server stuff yet. Heroku handles most of the server configurations so you can focus more on your application.
It also offers a free account, with limitations of course. But it's very nice for beginners, compared to VPS solutions which normally cost 20 bucks a month.
Check out this great article on deploying apps with Sinatra and Heroku:
Sinatra + Heroku = Super Fast Deployment
And also how to deploy any Rack-based applications on Heroku:
Deploying Rack-based Apps on Heroku
If you want to just deploy it somewhere and don't want to mess about with servers, try pushing your Sinatra app to Heroku. They have some fairly comprehensive documentation to get you started.
If you have your own server, it's a bit more involved, although what you trade off for simplicity you gain in control. The simplest thing that would work would be to check out a working copy of your app on said server, then run it like you do on localhost.
Google ruby deployment. It's a bit of a minefield, although the options are much more attractive than they were 5 years ago. For the simplest thing(s) that work, do either of the above. For anything else, you're out there with the rest of us ;)

Host sencha touch 2 on heroku

Is it possible to host a sencha touch 2 wep app on Heroku?
I know, Heroku does not have Sencha in library list, but maybe I can use Node.js or something else to push the app.
I really appreciate if you know a solution or an example/instruction how to do this.
Thanks!
Yes it's definitely possible, I already tried two options, both worked for me.
You could use Node.js, then you simply have to write a web server to serve your static content.
Probably the easiest solution is to create an index.php file and let heroku detect your app as PHP. This gives you an Apache web server that you can use for your Sencha Touch app.
Hope this helps.
I found a solution as well, which works pretty well for me:
Created an express project based on NodeJs
Use router for pointing to the sencha files
Deploy on heroku as a node.js https://devcenter.heroku.com/articles/nodejs
Beside the heroku hosting gain even NodeJs advantage , pretty much having JS as a server side and client side language.

Resources