Skip to content

Commit 48418f1

Browse files
author
tchapi
committed
chore
1 parent 23f2c78 commit 48418f1

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,21 @@ Dependencies
6767

6868
1. Retrieve the dependencies:
6969

70+
a. If you plan to run Davis locally, for development purposes
71+
72+
```
73+
composer install
74+
```
75+
76+
b. If you plan to run Davis on production
77+
7078
```
7179
composer install --no-dev
7280
```
7381
74-
Remove `--no-dev` if you plan to install Davis locally for e.g. development purposes.
82+
> [!CAUTION]
83+
> To run in production mode, set `APP_ENV=prod` in your `.env.local` file (see below)
84+
7585
7686
2. At least put the correct credentials to your database (driver and url) in your `.env.local` file so you can easily create the necessary tables.
7787
@@ -597,6 +607,15 @@ In a shell, if you run Davis locally:
597607
598608
bin/console doctrine:migrations:migrate
599609
610+
### I have a 500 and a log about `Uncaught Error: Class "Symfony\Bundle\WebProfilerBundle\WebProfilerBundle" not found`
611+
612+
You are running the app in dev mode, but you haven't installed the dev dependencies. Either:
613+
614+
a. Set `APP_ENV=prod` in your local env file (See configuration above)
615+
616+
b. Or `composer install` (without the `--no-dev` flag)
617+
618+
600619
### The LDAP connection is not working
601620
602621
> [!NOTE]

0 commit comments

Comments
 (0)