mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Fix markup
This commit is contained in:
parent
0eaf6a7b0c
commit
716717fe53
|
@ -18,32 +18,32 @@ Prerequisites
|
||||||
Instructions
|
Instructions
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
```
|
::
|
||||||
# creates the directory of environments (servers)
|
|
||||||
eb init -p python3.4 {{ cookiecutter.project_slug }}
|
|
||||||
|
|
||||||
# Creates the environment (server) where the app will run
|
# creates the directory of environments (servers)
|
||||||
eb create {{ cookiecutter.project_slug }}
|
eb init -p python3.4 {{ cookiecutter.project_slug }}
|
||||||
# Note: This will fail on a postgres error, because postgres doesn't exist yet
|
|
||||||
|
|
||||||
# Make sure you are in the right environment
|
# Creates the environment (server) where the app will run
|
||||||
eb list
|
eb create {{ cookiecutter.project_slug }}
|
||||||
|
# Note: This will fail on a postgres error, because postgres doesn't exist yet
|
||||||
|
|
||||||
# If you are not in the right environment
|
# Make sure you are in the right environment
|
||||||
eb use {{ cookiecutter.project_slug }}
|
eb list
|
||||||
|
|
||||||
# Set the environment variables
|
# If you are not in the right environment
|
||||||
python ebsetenv.py
|
eb use {{ cookiecutter.project_slug }}
|
||||||
|
|
||||||
# Go to EB AWS config. Create new RDS database (postgres, 9.4.9, db.t2.micro)
|
# Set the environment variables
|
||||||
# Get some coffee, this is going to take a while
|
python ebsetenv.py
|
||||||
|
|
||||||
# Deploy again
|
# Go to EB AWS config. Create new RDS database (postgres, 9.4.9, db.t2.micro)
|
||||||
eb deploy
|
# Get some coffee, this is going to take a while
|
||||||
|
|
||||||
# Take a look
|
# Deploy again
|
||||||
eb open
|
eb deploy
|
||||||
```
|
|
||||||
|
# Take a look
|
||||||
|
eb open
|
||||||
|
|
||||||
FAQ
|
FAQ
|
||||||
-----
|
-----
|
||||||
|
|
Loading…
Reference in New Issue
Block a user