File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,21 @@ Dependencies
6767
68681 . 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
76862. 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]
You can’t perform that action at this time.
0 commit comments