...
Code Block | ||||
---|---|---|---|---|
| ||||
# Create the app, with the correct environment variable # Adjust the tags and description based on the environment you are deploying to nex-cli apps:create maestrano/web-jruby --env-file <path/to/application.mno-hub> --size 20 --tags "jruby,core,mnohub,production" --desc "MnoHub Production" # Save the app name to a var to make your life easier export app=clueless-turkey-1 # Transfer app ownership to your parent organization (e.g. maestrano) nex-cli apps:transfer $app maestrano # Link the application to the code package # NOTE: the S3 credentials must have been provided to you by the Maestrano team nex-cli apps:scm $app --link s3:mnoe-packages/mnohub/releases:1v1.0.31.tar.gz --credentials somelogin:somepassword # Add the mysql and redis add-ons nex-cli addons:create mysql $app nex-cli addons:create redis $app # Start it nex-cli apps:up $app # Check the logs nex-cli apps:logs $app |
...