Nombre de problèmes (analyse automatique du dernier commit)
Prérequis :
- Node.js 20
- MySQL 8.0.35
- Docker
- Docker Compose
git clone https://github.com/EDM115-org/Tab-Magiques.git && cd Tab-Magiques
npm i
npm run prod-docker
Ouvrir le MySQL Shell
\sql
\connect root@localhost
CREATE USER 'sae'@'localhost' IDENTIFIED BY 'Senescalade!56';
CREATE DATABASE IF NOT EXISTS sae;
\source "C:\Path\To\Tab-Magiques\db\instantiate_db.sql"
Puis dans un powershell
git clone https://github.com/EDM115-org/Tab-Magiques.git && cd Tab-Magiques
npm i
npm run dev
docker build -t tab-magiques .
docker run -d --env-file ./.env -p 56860:56860 --name tab-magiques tab-magiques
docker start tab-magiques
docker logs tab-magiques
docker stop tab-magiques
Publish :
docker tag tab-magiques edm115/tab-magiques:latest
docker push edm115/tab-magiques:latest
- Inscription
- Connexion
- Interface d'administration
- Envoi de mail
Sources to check :
-
https://vite-pwa-org.netlify.app/frameworks/nuxt.html + https://vite-pwa-org.netlify.app/assets-generator/
-
BDD : https://github.com/sidorares/node-mysql2 (base : https://github.com/mysqljs/mysql, image : https://hub.docker.com/_/mysql)
-
Test the dockerfile and docker-compose