composer update to update PHP outbuildings.In order to install the project proper, it is imperative to follow the following steps:
To do this, you must first have a lunch on your machine.
git clone https://github.com/IUT-Orsay-LP-PRISM/GAPM-website.gitThe project mainly uses 2 dependent managers:
(ici v14.21.1). Composing is the PHP outbuilding manager, it will allow us to directly integrate libraries into our project. Like, Phpmailer, an email sending system.
Go to the composer site (link higher), then download "compose-setup.exe" and install it. Once it is installed, remember to restart your computer.
When your installation has been made, run the following order in the project file:
composer installDo what is needed for installing the virtual host if you have wamps. Normally everything is good, you can now launch the project.
However, no modification of the CSS will be possible. Indeed, to start the project just have to compose . The nude.js suite is necessary to compile the SCSS in CSS with webpack.
NPM is the Nodejs outbuilding manager, it will allow us to directly integrate JavaScript libraries into our project. Future Libs of stats for example.
To be able to use NPM, you must download Nodejs, you must go to their site (link higher), then download the MSI ( node-v14.21.1-x64.msi or node-v14.21.1-x86.msi ) and install it. Once installed, remember to restart your PC.
Normally, everything is good, NPM will only serve you if you want to do CSS or JavaScript, except for only PHP it has no interest.
After installing NODEJS you can use WebPack to compile SCSS and JS files.
npm installnpm run dev npm run build