mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
check dependencies
This commit is contained in:
parent
d1aa07aca6
commit
fe4bcff73e
@ -1,5 +1,5 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% block body %}
|
{% block outerBody %}
|
||||||
|
|
||||||
<section class="home">
|
<section class="home">
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
|
@ -42,7 +42,11 @@
|
|||||||
<td>{{ poll.mailOnVote ? 'Yes' : 'No' }}</td>
|
<td>{{ poll.mailOnVote ? 'Yes' : 'No' }}</td>
|
||||||
<td>{{ poll.hideResults ? 'Yes' : 'No' }}</td>
|
<td>{{ poll.hideResults ? 'Yes' : 'No' }}</td>
|
||||||
<td>{{ poll.showResultEvenIfPasswords ? 'Yes' : 'No' }}</td>
|
<td>{{ poll.showResultEvenIfPasswords ? 'Yes' : 'No' }}</td>
|
||||||
<td>{{ poll.password }}</td>
|
<td>
|
||||||
|
{% if poll.password %}
|
||||||
|
(***) oui, caché
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>{{ poll.adminKey }}</td>
|
<td>{{ poll.adminKey }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ path('poll_show', {'id': poll.id}) }}">show</a>
|
<a href="{{ path('poll_show', {'id': poll.id}) }}">show</a>
|
||||||
|
28
update.sh
28
update.sh
@ -11,7 +11,33 @@ composer install
|
|||||||
php bin/console doctrine:schema:update --force
|
php bin/console doctrine:schema:update --force
|
||||||
echo "######################"
|
echo "######################"
|
||||||
echo " update the funky frontend submodule "
|
echo " update the funky frontend submodule "
|
||||||
echo "######################"
|
echo "############################################"
|
||||||
|
echo " verification des besoins de l'application "
|
||||||
|
echo "############################################"
|
||||||
|
if [ ! hash yarn ]; then
|
||||||
|
echo "la commande yarn est introuvable"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo " ✅ yarn"
|
||||||
|
if [ ! hash git ]; then
|
||||||
|
echo "la commande git est introuvable"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo " ✅ git"
|
||||||
|
|
||||||
|
if [ ! -f .env || ! -f .env.local ]; then
|
||||||
|
echo "fichier d'environnement de symfony"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo " ✅ fichier d'environnement de symfony /.env ou /.env.local"
|
||||||
|
|
||||||
|
if [ ! -f bin/console ]; then
|
||||||
|
echo "fichier console de symfony"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo " ✅ fichier console de symfony /bin/console "
|
||||||
|
|
||||||
|
|
||||||
if [ ! -d "funky-framadate-front" ]; then
|
if [ ! -d "funky-framadate-front" ]; then
|
||||||
# initiate sub directory for funky front
|
# initiate sub directory for funky front
|
||||||
git submodule init
|
git submodule init
|
||||||
|
Loading…
Reference in New Issue
Block a user