BackEnd
Use composer to update everything. If you can't use it here's the list of php dependencies (located in /vendor/) :
- Swaggest JSON-schema (JSON schema implementation)
FrontEnd
FrontEnd ressources have been downloaded manually without any manager (for now anyway), I'll do something cleaner later hopefully
- Bootstrap 4 (can be updated with composer, located in /vendor/)
- jQuery (required by bootstrap, current installed version is 3.3.1 in /ressources/js/jQuery/)
- Vue 2.X (in /ressources/js/vue/)
- vue-clickaway (in /ressources/js/vue-clickaway/)
- dragula (in /ressources/js/dragula/, dragula has dependencies too but they're included in the installed version)
- Axios (in /ressources/js/axios/)
- fontAwesome free(in /ressources/ and the used sprites are in /public/)
- Jsep modified to include a reverse function
Bootstrap 4 isn't directly used, instead it is compiled from its scss sources files with the main scss of DigiCleaR. Here's the command to start a watcher which automatically compile the scss files to css when a change is detected :
cd /home/leandre/git/digiclear-v4/;
scss -I vendor/twbs/bootstrap/scss --watch ressources/scss/main.scss:ressources/css/main.css;
This require to have sass installed, of course.
Updating DigiCleaR
if specified by the maintener of the code you can update the components used by DigiCleaR
cd 'digiclear directory'
composer install
Then you can update DigiCleaR by using the git on the main branch (master
)
git fetch
git pull origin master
and do not forget to give access to the www-data
user of the system if using ubuntu based server. it must be the same user as the nginx user
.
composer install
cd /var/www/digiclear4
chown www-data * -R
Then, back to the website of DigiCleaR, you should connect and check the result of the upgrade/update. If there is any change in the database you will have to valid them. It is wise to do it before a user to avoid any trouble.
Technically, the SQL commands are executed one time after the update. The SQL commands are committed by the developer.