mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 00:04:13 +03:00
Elastic Beanstalk documentation cleanup
This commit is contained in:
parent
f24da185f6
commit
19b709371f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user