This project aims to deploy a full docker environment with front and back-end with a database.
As website user, you are able to : add, edit and remove any user from the list.
You are able to launch all the environment if you done all prerequisites and access the interface on : http://localhost:8080/.
You can find the Docker Desktop at this link
docker -v : Docker version 20.10.14, build a224086
You can find the Git Software just right here
You can find the Node installer at this link
node -v : v16.14.2 | npm -v : 8.5.5
When you have done every prerequisites, please run the following command to clone the project on your desktop with git :
git clone https://github.com/YoannCHVR/virtualisation_project.git
Please, run the following command to install the project :
npm install
At the root project "./virtualisation_project/", rename the .env.example to .env file to be able to use it in the project.
You have to complete the following lines with your own database information :
DB_ROOT_PASSWORD=root_pwd_example
DB_HOST=host_example
DB_NAME=name_example
DB_USERNAME=username_example
DB_PASSWORD=pwd_example
PROJECT_ROOT=path_example
After this, you have to deploy the project. For this step, you have different ways to done it :
On the project folder, double-click on the shell script "deploy.sh". This script is used to setup docker containers and put data on the MySQL database.
After open a terminal, go to the project folder to execute the "deploy.sh" script with the following command :
./deploy.sh
You can access to the front-end application with this link :
You can access to the phpmyadmin page with this link :
To login phpmyadmin system, you have to use the IDs that you previously define in the .env file.
You can access to the API with this link :