Elastic Beanstalk documentation cleanup

This commit is contained in:
Audrey Roy Greenfeld 2016-09-30 10:33:46 -07:00 committed by Daniel Roy Greenfeld
parent f24da185f6
commit 19b709371f

View File

@ -18,30 +18,26 @@ Prerequisites
Instructions
-------------
If you haven't done so, create a directory of environments.
If you haven't done so, create a directory of environments::
::
eb init -p python3.4 MY_PROJECT_SLUG
eb init -p python3.4 {{ cookiecutter.project_slug }}
Replace `MY_PROJECT_SLUG` with the value you entered for `project_slug`.
Once that is done, create the environment (server) where the app will run::
Once that is done, create the environment (server) where the app will run
::
eb create {{ cookiecutter.project_slug }}
eb create MY_PROJECT_SLUG
# Note: This will eventually fail on a postgres error, because postgres doesn't exist yet
Now make sure you are in the right environment
::
Now make sure you are in the right environment::
eb list
TODO: Finsh it::
If you are not in the right environment, then put yourself in the correct one::
# If you are not in the right environment
eb use {{ cookiecutter.project_slug }}
eb use MY_PROJECT_SLUG
TODO: Finish it::
# Set the environment variables
python ebsetenv.py