diff --git a/docs/deployment-with-elastic-beanstalk.rst b/docs/deployment-with-elastic-beanstalk.rst index 54c32fec..e445cb5d 100644 --- a/docs/deployment-with-elastic-beanstalk.rst +++ b/docs/deployment-with-elastic-beanstalk.rst @@ -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