2.0 KiB
EC2 instance Django with PostgreSQL This project demonstrates how to deploy a Django application with PostgreSQL database
i have used Ec2 instance to host the application, the application host through this public domain ec2-13-53-66-250.eu-north-1.compute.amazonaws.com Project Structure
public ip : 13.53.66.250
start-app.sh: Starts the application
stop-app.sh: Stops the application
remove-app.sh: Removes the application
stat.sh: Shows application status
wait-for-it.sh: Waits for database to be ready
sandcruz@santhosh:/opt/Docker/mic/git$ tree sk1/ sk1/ ├── myproject │ ├── docker-compose.yml │ ├── Dockerfile │ ├── manage.py │ ├── myapp │ │ ├── admin.py │ │ ├── apps.py │ │ ├── forms.py │ │ ├── init.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── init.py │ │ ├── models.py │ │ ├── static │ │ │ └── styles.css │ │ ├── templates │ │ │ ├── student_form.html │ │ │ └── student_list.html │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── myproject │ │ ├── asgi.py │ │ ├── init.py │ │ ├── pycache │ │ │ ├── init.cpython-312.pyc │ │ │ └── settings.cpython-312.pyc │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ ├── prepare-app.sh │ ├── README.md │ ├── remove-app.sh │ ├── requirements.txt │ ├── start-app.sh │ ├── stop-app.sh │ └── wait-for-it.sh └── README.md
8 directories, 31 files sandcruz@santhosh:/opt/Docker/mic/git$