Fix project name in doc

This commit is contained in:
ThomasSamson 2024-03-29 10:42:26 +01:00
parent 36c7877b39
commit 0720142a53
3 changed files with 8 additions and 8 deletions

2
.env
View file

@ -78,7 +78,7 @@ SMS_DSN=null://null
###< symfony/notifier ###
###> symfony/fake-sms-notifier ###
FAKE_SMS_DSN=fakesms+email://mailer?to=admin&from=PlateformCoop
FAKE_SMS_DSN=fakesms+email://mailer?to=admin&from=plateforme
###< symfony/fake-sms-notifier ###
###> snc/redis-bundle ###

View file

@ -6,7 +6,7 @@ This documention gives solutions for some errors occuring in the project.
### Error 1.1
plateformcoop-ebs$ docker compose exec php ./vendor/bin/php-cs-fixer fix --allow-risky=yes
plateforme-ebs$ docker compose exec php ./vendor/bin/php-cs-fixer fix --allow-risky=yes
OCI runtime exec failed: exec failed: unable to start container process: exec: "./vendor/bin/php-cs-fixer": permission denied: unknown
### Solution 1.1

View file

@ -105,7 +105,7 @@ Which gives:
Install the project dependencies:
cd /var/www/plateformcoop-ebs
cd /var/www/plateforme-ebs
composer install --ignore-platform-req=php
The `--ignore-platform-` options is required if you have a PHP version below `8.1.11`.
@ -161,12 +161,12 @@ And put:
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/plateformcoop-ebs/public
DocumentRoot /var/www/plateforme-ebs/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/plateformcoop-ebs/public>
<Directory /var/www/plateforme-ebs/public>
AllowOverride All
Require all granted
FallbackResource /index.php
@ -198,7 +198,7 @@ Close and reopen the session so nvm is available:
Then run:
cd /var/www/plateformcoop-ebs
cd /var/www/plateforme-ebs
yarn install
yarn build
@ -209,8 +209,8 @@ Be careful that is you run the commands as root some files may not have the corr
rights.
The following directory should be owned by the web server user:
chown -R /var/www/plateformcoop-ebs/public
chown -R /var/www/plateformcoop-ebs/var
chown -R /var/www/plateforme-ebs/public
chown -R /var/www/plateforme-ebs/var
## Parameters