Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
skeleton-application
Commits
dc9f1288
Commit
dc9f1288
authored
Oct 02, 2019
by
Bertrand Gauthier
Browse files
Création du script install.sh pour mimer ce qui est fait dans sygal
parent
63ae1591
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
0 → 100755
View file @
dc9f1288
#!/usr/bin/env bash
#
# This script runs required operations in order to set up the application.
#
# Composer install
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
vendor/bin/doctrine-module orm:clear-cache:query
vendor/bin/doctrine-module orm:clear-cache:metadata
vendor/bin/doctrine-module orm:clear-cache:result
vendor/bin/doctrine-module orm:generate-proxies
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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