-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:HE-Arc/PokeTeams
- Loading branch information
Showing
2 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
APP_NAME=Laravel | ||
APP_ENV=local | ||
APP_KEY=base64:fMG1xh/v3Nd25HQYI93ndvKGmPcLXpDLPLzgKmKsDX0= | ||
APP_DEBUG=true | ||
APP_URL=http://localhost | ||
|
||
LOG_CHANNEL=stack | ||
LOG_DEPRECATIONS_CHANNEL=null | ||
LOG_LEVEL=debug | ||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=3306 | ||
DB_DATABASE=poketeams | ||
DB_USERNAME=root | ||
DB_PASSWORD= | ||
|
||
BROADCAST_DRIVER=log | ||
CACHE_DRIVER=file | ||
FILESYSTEM_DISK=local | ||
QUEUE_CONNECTION=sync | ||
SESSION_DRIVER=file | ||
SESSION_LIFETIME=120 | ||
|
||
MEMCACHED_HOST=127.0.0.1 | ||
|
||
REDIS_HOST=127.0.0.1 | ||
REDIS_PASSWORD=null | ||
REDIS_PORT=6379 | ||
|
||
MAIL_MAILER=smtp | ||
MAIL_HOST=mailhog | ||
MAIL_PORT=1025 | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null | ||
MAIL_FROM_ADDRESS="[email protected]" | ||
MAIL_FROM_NAME="${APP_NAME}" | ||
|
||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_DEFAULT_REGION=us-east-1 | ||
AWS_BUCKET= | ||
AWS_USE_PATH_STYLE_ENDPOINT=false | ||
|
||
PUSHER_APP_ID= | ||
PUSHER_APP_KEY= | ||
PUSHER_APP_SECRET= | ||
PUSHER_HOST= | ||
PUSHER_PORT=443 | ||
PUSHER_SCHEME=https | ||
PUSHER_APP_CLUSTER=mt1 | ||
|
||
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" | ||
VITE_PUSHER_HOST="${PUSHER_HOST}" | ||
VITE_PUSHER_PORT="${PUSHER_PORT}" | ||
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" | ||
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,55 @@ | ||
# PokeTeams | ||
|
||
PokeTeams est une application web permettant de créer des équipes Pokémon et de voir les faiblesses globales de celles-ci. | ||
|
||
## Dépendenses | ||
|
||
- PHP >= 8.2.4 | ||
- Composer >= 2.8.2 | ||
- Node.js >= 18.20.4 | ||
- MariaDB >= 10.5.26 | ||
|
||
## Lancement en local | ||
|
||
1. Clonage du dépot | ||
|
||
```bash | ||
git clone https://github.com/HE-Arc/PokeTeams.git | ||
cd PokeTeams | ||
``` | ||
|
||
2. Installation des dépendenses | ||
|
||
```bash | ||
composer install | ||
npm install | ||
``` | ||
|
||
3. Configuration de l'environement | ||
|
||
Chargement de la config de base | ||
```bash | ||
cp .env.example .env | ||
``` | ||
|
||
Changement des paramètres pour correspondre à l'environnement local | ||
- DB_PASSWORD | ||
|
||
4. Génération de la clé d’application | ||
|
||
```bash | ||
php artisan key:generate | ||
``` | ||
|
||
5. Migration et seeding de la base de données | ||
|
||
```bash | ||
php artisan migrate:fresh --seed | ||
``` | ||
|
||
6. Démarrage du serveur | ||
|
||
```bash | ||
npm run dev | ||
php artisan serve | ||
``` |