Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 1.22 KB
jack deploy

So far we have been using an empty folder as our project to mainly demonstrate jack's ability to download and manage configuration files. Jack can also deploy application code to the Elastic Beanstalk environment. For this next step, we will deploy a small test sinatra app available on GitHub at tongueroo/sinatra.

Clone the project and cd into it:

git clone
cd sinatra

Now we can use the jack deploy command to deploy the app:

jack deploy hi-web-stag

You should see similiar output below:

The jack deploy command simply is a wrapper command to the eb deploy command. If you need to pass eb deploy options down through to the underlying command you can use the EB_OPTIONS environment variable. Here's an example:

EB_OPTION='--nohang' jack deploy hi-web-stag

Back Next Step

Pro tip: Use the <- and -> arrow keys to move back and forward.