- Ubuntu Instance
- Instance Type: t2.medium
- Install Docker, Docker-Compose & Git
sudo apt update
sudo apt install -y docker.io
sudo usermod -aG docker ubuntu
newgrp docker
docker --version
sudo curl -L "https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
git --version | cut -d ' ' -f3
git clone https://github.com/soravkumarsharma/Blood-Bank-Management-System.git
cd Blood-Bank-Management-System
mv .env.example .env
docker-compose up -d
docker ps
Go to your browser, and access this Blood Bank Application on port 80 and phpmyadmin dashboard on port 8080 via the ubuntu instance public IPv4 or IPv6.
Access admin_test.php in your browser by typing admin_test.php in the address bar. This will automatically execute the PHP code inside the file and insert admin credentials into your MySQL database
- username : sorav
- password : root