This project is designed to .... and the main features are ...
List all dependencies and their version needed by the project as :
php8.3-sqlite3
pdo_sqlite
extension in your php.ini
fileTo configure the database, you have to run this command :
cp db/database.example.sqlite db/database.sqlite
Once you've created the database, you'll need to run the SQL scripts located in the db directory. The
create_database.sql
script to create the database and theinsert_fake_data.sql
script to insert fake data into the database.
Clone the repository
git clone https://github.com/CPNV-ES/maw11-jdn.git
Setup
main
branch and init Git Flow for the project
git switch main
git flow init
Install dependencies
composer install
Run dev server
php -S localhost:8000 -t public/
./vendor/bin/phpunit tests/*.php
How to deploy the application outside the dev environment.
├── app
│ ├── controllers
│ ├── core
│ │ ├── Controller.php
│ │ ├── Database.php
│ │ ├── Model.php
│ │ └── Router.php
│ ├── models
│ │ ├── FieldModel.php
│ │ └── ExerciseModel.php
│ └── views
│ ├── home
│ └── layouts
├── config
│ ├── config.example.php
│ └── config.php
├── db
│ ├── create_database.sql
│ └── insert_fake_data.sql
├── docs
│ ├── looper-features.md
│ ├── looper-specs.md
│ └── repo-structuring.md
├── logs
├── public
│ ├── css
│ │ └── style.css
│ ├── images
│ └── index.php
├── tests
│ ├── db
│ │ ├── create_database.sql
│ │ ├── insert_fake_data.sql
│ │ └── database.example.sqlite
│ └── DatabaseTest.php
├── composer.json
├── composer.lock
└── README.md
Take time to read some readme and find the way you would like to help other developers collaborate with you.
They need to know: