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 https://github.com/tongueroo/sinatra.git
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
Pro tip: Use the <- and -> arrow keys to move back and forward.
Edit this page
See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!
- Suggest an edit to this page (here's the contributing guide).
- Open an issue about this page to report a problem.