CPNV-ES / maw11-jdn

Repository for maw11 project, recreate looper app.
0 stars 0 forks source link

MAW11-JDN

Description

This project is designed to .... and the main features are ...

Getting Started

Prerequisites

List all dependencies and their version needed by the project as :

Configuration

Database

To 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 the insert_fake_data.sql script to insert fake data into the database.

Deployment

On dev environment

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/

How to run the tests?

./vendor/bin/phpunit tests/*.php

On integration environment

How to deploy the application outside the dev environment.

Directory structure

├── 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

Collaborate

License

Contact