summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_update3.sh
diff options
context:
space:
mode:
authordevega <miguel.vega@sic.uhu.es>2020-03-24 12:36:46 +0100
committerdevega <miguel.vega@sic.uhu.es>2020-03-24 12:36:46 +0100
commit7a51e7aeffd72798fcd8cfaa1f27535b5e959b07 (patch)
treedd19baeca029deaaa6b356bb4884bf9d93728250 /installer/opengnsys_update3.sh
parentaafce73629d6b5f5d0a055e109d6112a4bccbb14 (diff)
Updated Symfony 3.x to 4.xwebconsole3
- Reorganizado los Repositorios de Symfony - Registrado los commandos como Servicio - Actualizado la configuraión de Doctrine - Modificado el fichero update e installer.
Diffstat (limited to 'installer/opengnsys_update3.sh')
-rwxr-xr-xinstaller/opengnsys_update3.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/installer/opengnsys_update3.sh b/installer/opengnsys_update3.sh
index 265853ae..0559a5ed 100755
--- a/installer/opengnsys_update3.sh
+++ b/installer/opengnsys_update3.sh
@@ -709,16 +709,16 @@ function updateWeb3()
GRANT ALL PRIVILEGES ON ${OPENGNSYS_DATABASE}3.* TO $OPENGNSYS_DBUSER IDENTIFIED BY '$OPENGNSYS_DBPASSWORD';
"
# Crear la base de datos
- php app/console doctrine:database:create --if-not-exists
+ php bin/console doctrine:database:create --if-not-exists
# Actualizar el esquema de la base de datos
- php app/console doctrine:schema:update --force
- php app/console doctrine:fixtures:load
+ php bin/console doctrine:schema:update --force
+ php bin/console doctrine:fixtures:load
# Crear el usuario con permisos de Administrador
- php app/console fos:user:create admin admin@localhost.localdomain admin
+ php bin/console fos:user:create admin admin@localhost.localdomain admin
# Crear el cliente Auth2 para obtener us client_id y secret
- php app/console opengnsys:oauth-server:client:create --grant-type="password" --grant-type="refresh_token" --grant-type="token" --grant-type="http://opengnsys.es/grants/og_client"
+ php bin/console opengnsys:oauth-server:client:create --grant-type="password" --grant-type="refresh_token" --grant-type="token" --grant-type="http://opengnsys.es/grants/og_client"
# Realizar la migración de la versión anterior de opengnsys 1.1
- php app/console opengnsys:migration:execute
+ php bin/console opengnsys:migration:execute
popd
# Instalar NodeJs y NG.