mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-04-22 10:52:14 +00:00
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
Pouet
Maintainers
- Aviortheking: Florian BOUILLON
- Nicolas-Brossard: Nicolas BROSSARD
- jenoh: Théo MEMIN
- s0dyy: Maxime SORIN
Requirements :
- GIT LFS (Optionnal)
- a terminal
Install
Dev
cp ./.env.example ./.env #then edit the file to match your config
docker-compose build
docker-compose run php composer install
docker-compose run php php artisan key:generate
docker-compose up
after that run migrations
Finnally run the seeders seeders
Prod
cp ./env.example ./env #then edit the file to match your config
docker-compose build
docker-compose run -f docker-compose.yml -f docker-compose.prod.yml php php artisan key:generate
docker-compose up -f docker-compose.yml -f docker-compose.prod.yml
after that run migrations
Migrations
to run migration do
on linux/mac
./artprox migrate
on windows
docker-compose exec php php artisan migrate
Seeders
to run seeders do
on linux/mac
./artprox db:seed --class=CreateUsersSeeder
on windows
docker-compose exec php php artisan db:seed --class=CreateUsersSeeder
Languages
PHP
92.5%
Blade
5.3%
Hack
1.7%
Dockerfile
0.3%
JavaScript
0.1%
Other
0.1%