Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
skeleton-application
Commits
a57b2359
Commit
a57b2359
authored
Dec 16, 2020
by
Bertrand Gauthier
Browse files
install.sh : suppression des commandes déportées vers le composer.json.
parent
b3fe1c40
Pipeline
#8885
passed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
a57b2359
#!/usr/bin/env bash
#!/usr/bin/env bash
#
# This script runs required operations in order to set up the application.
#
# Composer install
# Composer install
composer
install
--no-dev
--no-suggest
--optimize-autoloader
composer
install
--no-dev
--no-suggest
--optimize-autoloader
# mpdf/mpdf/ttfontdata dir access
#chown -R www-data:root vendor/mpdf/mpdf/ttfontdata && chmod -R 770 vendor/mpdf/mpdf/ttfontdata
# Répertoire d'upload par défaut
#mkdir -p upload && chown -R www-data:root upload && chmod -R 770 upload
# Répertoires de travail de Doctrine
mkdir
-p
data/cache
&&
chmod
-R
777 data/cache
mkdir
-p
data/DoctrineModule/cache
&&
chmod
-R
777 data/DoctrineModule/cache
mkdir
-p
data/DoctrineORMModule/Proxy
&&
chmod
-R
777 data/DoctrineORMModule/Proxy
rm
-rf
data/cache/
*
rm
-rf
data/DoctrineModule/cache/
*
rm
-rf
data/DoctrineORMModule/Proxy/
*
# Commandes Doctrine
# Commandes Doctrine
vendor/bin/doctrine-module orm:clear-cache:query
vendor/bin/doctrine-module orm:clear-cache:query
vendor/bin/doctrine-module orm:clear-cache:metadata
vendor/bin/doctrine-module orm:clear-cache:metadata
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment