Initial commit

This commit is contained in:
2020-04-17 07:59:50 +02:00
commit b70ef833f6
82 changed files with 8708 additions and 0 deletions

35
notes.md Normal file
View File

@@ -0,0 +1,35 @@
Jurassic Land - Laravel
# Mise en place
## Installation Laravel
```
composer global require laravel/installer
```
## Init projet
```
cd ~/code
composer create-project laravel/laravel bappli-jurassic-land --prefer-dist
cd bappli-jurassic-land
git init
```
## Création base de données :
Éditer `config/database.php` pour utiliser SQLite.
Éditer `.env` : commenter DB_*
```
touch database/database.sqlite
php artisan make:migration create_paddocks_table --create=paddocks
```
## Modèle Paddock
php artisan make:model Paddock