1

I am non-tech entrepreneur. I have developed a Rails app. I want to deploy it live. Can anyone guide me on how to use Ubuntu server + Juju on my laptop to deploy the app live on internet.

David Foerster
  • 36,890
  • 56
  • 97
  • 151
Swap
  • 509

1 Answers1

0

Using Juju to Deploy Your Rails Application is a great place to start. That documents what you need to do to deploy a rails application with Juju.

For development purposes, the Juju Vagrant Workflow for OS X will get you up and running with a Vagrant virtual machine in order to fully experience Juju using the local provider. This is how I do most of my development work.

When you're ready to put your application live, you would then use your own private cloud or a public one such as Amazon.

For example, I'd write a yaml file to tell the Rails charm about my rail application. Next, I'd fire up a Vagrant virtual machine, which will start me with a fully functional local environment to test with. I'd deploy rails, passing it the yaml file I created, and then test to verify that my application works as expected.

At that point, I'd shut down the vm, returning to my OS X terminal, and juju switch amazon, juju bootstrap the environment, and then deploy the application.

That's all a bit high level, but should point you in the right direction.