-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
16 lines (16 loc) · 977 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### .env.example
### The following environment variables are useful for connecting to a Unit Test websocket server instance
### In a local development environment, copy this file to .env.development to ensure to connect to local running Unit Test websocket server.
### Set the same value for WS_PORT as in the Liturgical Calendar API project folder.
### For more information, see https://github.com/Liturgical-Calendar/LiturgicalCalendarAPI/blob/development/LitCalTestServer.php
WS_PROTOCOL=ws
WS_HOST=localhost
WS_PORT=8080
API_PROTOCOL=http
API_HOST=localhost
API_PORT=8000 # will not determine on which port the API will launch, only on which port the Unit Test server will look for the API
APP_ENV=development # development | production
# When production, the API will add `/api/{version}` to the path
# where {version} is the version of the API that is automatically detected
# based on the current folder name (dev, v3, v4...).
# When development, no path will be added.