Skip to content

nikhilrizal/Fractal-Networks

Repository files navigation

Django Dockerization Demo

Author: Nikhil Rizal

Contact: [email protected]


Overview:

This is a simple Django application designed to demonstrate the configuration of Dockerization using Docker Compose for orchestration.


How to Use:

  1. Build Docker Containers:

    • Run the following command to build the Docker containers:
      docker-compose build
  2. Run Docker Containers:

    • Start the application and services using the following command:

      docker-compose up
    • Access the application through: http://localhost:9002/

  3. Test Cases:

    • Run the following command for testing:
      docker-compose exec backend python manage.py test postGisApp.tests
  4. Create Superuser:

    • To create a superuser, use the following command:
      docker-compose exec backend python manage.py createsuperuser

Notes:

This app serves as a simple demonstration of Docker and Dockerization. It showcases the configuration of a Django app using Docker Compose for easy deployment and management.

About

Task Assignment for Django Developer Evaluation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published