scripts install and update
This commit is contained in:
parent
7a3171c15f
commit
dae7c006d5
@ -116,7 +116,7 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="well examples-depenses">
|
<div class="well examples-depenses">
|
||||||
<strong>
|
<strong>
|
||||||
Exemples:
|
Exemples de postes de dépenses à ajouter:
|
||||||
</strong>
|
</strong>
|
||||||
{% endverbatim %}
|
{% endverbatim %}
|
||||||
{{ "
|
{{ "
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "################################";
|
||||||
|
echo "start INSTALL of symfony project";
|
||||||
|
echo "################################";
|
||||||
echo "checking requirements";
|
echo "checking requirements";
|
||||||
composer --version
|
composer --version
|
||||||
yarn --version
|
yarn --version
|
||||||
@ -16,3 +20,7 @@ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX var
|
|||||||
echo "update database";
|
echo "update database";
|
||||||
php bin/console doctrine:schema:update --dump-sql
|
php bin/console doctrine:schema:update --dump-sql
|
||||||
php bin/console doctrine:schema:update --force
|
php bin/console doctrine:schema:update --force
|
||||||
|
|
||||||
|
echo "################################";
|
||||||
|
echo "end INSTALL of symfony project";
|
||||||
|
echo "################################";
|
@ -1,6 +1,15 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
echo "###############################";
|
||||||
echo "start update of symfony project";
|
echo "start update of symfony project";
|
||||||
|
echo "###############################";
|
||||||
git pull origin master --strategy-option theirs
|
git pull origin master --strategy-option theirs
|
||||||
|
composer --version
|
||||||
|
yarn --version
|
||||||
|
|
||||||
yarn run encore production
|
yarn run encore production
|
||||||
|
php bin/console doctrine:schema:update --dump-sql
|
||||||
|
php bin/console doctrine:schema:update --force
|
||||||
php bin/console cache:clear -eprod
|
php bin/console cache:clear -eprod
|
||||||
|
echo "###########";
|
||||||
echo "update done";
|
echo "update done";
|
||||||
|
echo "###########";
|
Loading…
Reference in New Issue
Block a user