Postgresql, Html 5, Bootstrap 4, Php 8.0, Docker
- Move terminal to this repo.
- Create a config file (i.e. config.env) with below parameters:
When IGNORE_APPLICATION_STATUS
is set to 1
the leaderboard will not take into consideration application_status=true
condition when displaying the results. It is meant to be used in test environments only.
Configure these variables and save the file.
- Go to the terminal.
- Type below commands:
-
docker build -t mina-web .
-
docker run --env-file ./config.env --name mina-web --restart unless-stopped -p 80:80 -p 443:443 -i -t -d mina-web
This will install all dependancies and start the container. After finishing the process we will opening the browser with 127.0.0.1
After any changes in project you have rebuild the docker file by using
docker build -t mina-web .
this command and again run the container .