Fix markup

This commit is contained in:
Daniel Roy Greenfeld 2016-09-22 21:45:16 -07:00 committed by Fabio C. Barrioneuvo da Luz
parent 0eaf6a7b0c
commit 716717fe53

View File

@ -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
----- -----
@ -51,4 +51,4 @@ FAQ
Why Not Use Docker on Elastic Beanstalk? Why Not Use Docker on Elastic Beanstalk?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Because I didn't want to add an abstraction (Docker) on top of an abstraction (Elastic Beanstalk) on top of an abstraction (Cookiecutter Django). Because I didn't want to add an abstraction (Docker) on top of an abstraction (Elastic Beanstalk) on top of an abstraction (Cookiecutter Django).