Skip to content

Commit 9489928

Browse files
authored
Improve README (#214)
1 parent 3d3a08a commit 9489928

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ Dependencies
6868
1. Retrieve the dependencies:
6969

7070
```
71-
composer install
71+
composer install --no-dev
7272
```
7373
74+
Remove `--no-dev` if you plan to install Davis locally for e.g. development purposes.
75+
7476
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.
7577
7678
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
9395
>
9496
> 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.
9597
98+
> [!CAUTION]
99+
>
100+
> In a production environnement, the `APP_ENV` variable MUST be set to `prod` to prevent leaking sensitive data.
101+
96102
**a. The database driver and url** (_you should already have it configured since you created the database previously_)
97103
98104
```shell

0 commit comments

Comments
 (0)