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