Skip to content

Roll-no-57/Code-Samurai-Preliminary-Contest-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BUET_FRIENDS

🎓 University: Bangladesh University Of Engineering And Technology

We have been selected for the phase 2 . postion 57 ,out of 400+ teams

📧 Emails:

🐳 How to Run

  • ENV-SETUP: Remove the .env file (or edit it). Create a .env file in the root directory and set the following environment variables
DB_HOST=localhost
DB_USER=your_db_username
DB_PASSWORD=your_db_password
DB_NAME=your_db_database_name
DB_PORT=5432

APP_PORT=8000
  • BUILD(DETACHED): Type the following command in the terminal to build and run the docker container
docker-compose up -d --build 
  • BUILD: Or, if you want to see the logs of the container and do not want to run it in detached mode, use the following command (Wont be able to use the terminal after running this command)
docker-compose up --build
  • RE-RUN: If small changes are made to the code, the following command can be used to rerun the container without rebuilding the image
docker-compose down
docker-compose up
  • RE-BUILD: If dockerfile or docker-compose.yml is changed, the following command can be used to rebuild the image and run the container
docker-compose down
docker-compose up -d --build
  • STOP: To stop the container, use the following command
docker-compose down
  • REMOVE: To remove the container, image, and the volume, use the following command
docker-compose down --rmi all -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors