Course 2 Hello World application backend.
-
Add
.gitignore
for Python and Terraform (gitignore.io) -
Setup Makefile with
env
andinstall
-
Create requirements file and installed
-
Create Django project
django-admin.py startproject hello_world_api
-
Add
*.sqlite3
to.gitignore
-
Create
Dockerfile
-
Add
install-dev
to Makefile to installdocker-compose
-
Create
docker-compose.yml
file -
Run
docker-compose up --build
-
Add
rest_framework
tosettings.py
-
Create
views.py
inhello_world_api/
with hello world view -
Add
/api/hello_world
url -
Add Cors Headers
-
Create ECS Cluster
-
Create EC2 containers
-
Create SGs and Instance Profile
-
Create ECS Service
-
Create ECS Task
-
Create build and push script
Create S3 Bucket:
aws s3 mb --region us-east-1 s3://c2-state-files