You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,11 @@ Dependencies
68
68
1. Retrieve the dependencies:
69
69
70
70
```
71
-
composer install
71
+
composer install --no-dev
72
72
```
73
73
74
+
Remove `--no-dev` if you plan to install Davis locally for e.g. development purposes.
75
+
74
76
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.
75
77
76
78
3. Run the migrations to create all the necessary tables:
@@ -93,6 +95,10 @@ Create your own `.env.local` file to change the necessary variables, if you plan
93
95
>
94
96
> If your installation is behind a web server like Apache or Nginx, you can setup the env vars directly in your Apache or Nginx configuration (see below). Skip this part in this case.
95
97
98
+
> [!CAUTION]
99
+
>
100
+
> In a production environnement, the `APP_ENV` variable MUST be set to `prod` to prevent leaking sensitive data.
101
+
96
102
**a. The database driver and url** (_you should already have it configured since you created the database previously_)
0 commit comments