This is the 5th project in PHP/Symfony OpenClassroom training. In this project, an API was created to allow authenticated users to access to a list of mobile phones, accessible by all users and a list of sub-users, proper to each authenticated users.
The above application require following environment :
In this installation guide, it's supposed that you have your environment configured (see requirements)
Download zip and extract it on your server or clone repository from github :
git clone https://github.com/Xwyk/BileMo.git
Create your .env.local file from .env present in project's root
Install dependancies
composer install
(Optionnal) Init project by injecting default datas. initProject create datatabase, inject datas and install certificate for HTTPS use. This create 2 users, "user1" and "user2", with password "user1" and "user2"
composer initProject
(Optionnal) In case of prod reset, you can use :
composer reset
(Optionnal) In case of test reset, you can use :
composer resetForTests