From 4de57dd9cb724429b095c3e30524f0085ade1d38 Mon Sep 17 00:00:00 2001 From: stiti Date: Fri, 17 May 2024 12:08:35 +0200 Subject: [PATCH] =?UTF-8?q?=C3=89criture=20du=20readme.md=20+=20Configurat?= =?UTF-8?q?ion=20de=20la=20base=20de=20donn=C3=A9es=20(database.php)=20et?= =?UTF-8?q?=20de=20CodeIgniter=20en=20g=C3=A9n=C3=A9ral=20(config.php)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/config/config.php | 2 +- .../application/config/database.php | 6 +-- README.md | 38 +++++++++++++++++++ 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/CodeIgniter-3.1.13/application/config/config.php b/CodeIgniter-3.1.13/application/config/config.php index 35ace5c..6948265 100644 --- a/CodeIgniter-3.1.13/application/config/config.php +++ b/CodeIgniter-3.1.13/application/config/config.php @@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | a PHP script and you can easily do that on your own. | */ -$config['base_url'] = ''; +$config['base_url'] = '/stiti/SAE2.02/CodeIgniter-3.1.13'; /* |-------------------------------------------------------------------------- diff --git a/CodeIgniter-3.1.13/application/config/database.php b/CodeIgniter-3.1.13/application/config/database.php index 0088ef1..87ed84b 100644 --- a/CodeIgniter-3.1.13/application/config/database.php +++ b/CodeIgniter-3.1.13/application/config/database.php @@ -76,9 +76,9 @@ $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', - 'username' => '', - 'password' => '', - 'database' => '', + 'username' => 'stiti', + 'password' => 'stiti1234', + 'database' => 'stiti', 'dbdriver' => 'mysqli', 'dbprefix' => '', 'pconnect' => FALSE, diff --git a/README.md b/README.md index e69de29..b994679 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,38 @@ +# Application de Musique 🎶 + +## URL du site +Voici l'URL d'accès au site : https://dwarves.iut-fbleau.fr/~stiti/SAE_2.02/CodeIgniter-3.1.13/ + +## Description +Ce projet est une application web permettant aux utilisateurs de consulter une base de données de morceaux de musique et de gérer leurs propres playlists. L'application est développée en utilisant le framework PHP MVC CodeIgniter Version 3. + +## Fonctionnalités +### Consultation +- Consultation de différents éléments : + - Liste des artistes + - Liste des albums (par artiste, par genre) + - Liste des chansons (par album, par artiste, par genre) +- Navigation simple entre les différentes vues. + +### Gestion de Playlists (nécessite un compte utilisateur) +- Création de playlists personnalisées. +- Ajout de chansons, d'albums ou de toutes les chansons d'un artiste à une playlist. +- Suppression de chansons et de playlists. + +## Installation et Configuration +1. Cloner le dépôt GIT : [lien vers le dépôt](https://grond.iut-fbleau.fr/stiti/SAE_2.02) +2. Assurez-vous d'avoir un environnement de développement PHP avec CodeIgniter Version 3 installé. +3. Importer la base de données fournie dans votre système de gestion de base de données MySQL. +4. Configurer les paramètres de connexion à la base de données dans le fichier `application/config/database.php`. +5. Déployer l'application sur un serveur web compatible avec PHP. + +## Contributeurs +- Moncef STITI @stiti +- Marco ORFAO @orfao +- Louay DARDOURI @dardouri + +## Échéances +La date maximale est le 17 juin 2024. + +## Contact +Pour toute question ou commentaire, veuillez contacter Moncef STITI à cette adresse mail : [moncef.stiti@etu.u-pec.fr].