From 00605434fff5d00b077290ea920106a50fc3aca3 Mon Sep 17 00:00:00 2001 From: Didier Date: Tue, 12 Sep 2023 12:50:11 +0200 Subject: [PATCH] fix typo --- INSTALL/INSTALL.ubuntu2204.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/INSTALL/INSTALL.ubuntu2204.md b/INSTALL/INSTALL.ubuntu2204.md index ef50c6a..103e5e3 100644 --- a/INSTALL/INSTALL.ubuntu2204.md +++ b/INSTALL/INSTALL.ubuntu2204.md @@ -42,6 +42,14 @@ sudo a2enmod headers ### Apache Virtual Host +Modify default Apache virtual host: + +```bash +sudo vi /etc/apache2/sites-enabled/000-default.conf +``` + +With this configuration: + ```conf ServerAdmin admin@localhost.lu @@ -189,15 +197,15 @@ And configure the database connection: # 3. Migrating MONARC DB ```bash -$ php ./vendor/robmorgan/phinx/bin/phinx migrate -c module/Monarc/FrontOffice/migrations/phinx.php -$ php ./vendor/robmorgan/phinx/bin/phinx migrate -c module/Monarc/Core/migrations/phinx.php +sudo php ./vendor/robmorgan/phinx/bin/phinx migrate -c module/Monarc/FrontOffice/migrations/phinx.php +sudo php ./vendor/robmorgan/phinx/bin/phinx migrate -c module/Monarc/Core/migrations/phinx.php ``` # 4. Create initial user ```bash -$ php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/FrontOffice/migrations/phinx.php +sudo php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/FrontOffice/migrations/phinx.php ``` The username is *admin@admin.localhost* and the password is *admin*.