mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
Elastic Beanstalk documentation cleanup
This commit is contained in:
parent
f24da185f6
commit
19b709371f
|
@ -18,30 +18,26 @@ Prerequisites
|
||||||
Instructions
|
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 MY_PROJECT_SLUG
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
eb create {{ cookiecutter.project_slug }}
|
|
||||||
# Note: This will eventually fail on a postgres error, because postgres doesn't exist yet
|
# 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
|
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 MY_PROJECT_SLUG
|
||||||
eb use {{ cookiecutter.project_slug }}
|
|
||||||
|
TODO: Finish it::
|
||||||
|
|
||||||
# Set the environment variables
|
# Set the environment variables
|
||||||
python ebsetenv.py
|
python ebsetenv.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user