-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
387 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Slim | ||
|
||
## Documentation | ||
|
||
**Instructions:** | ||
|
||
1. Create a .env file: ```cp .env.example .env``` | ||
2. Run the containers: ```docker compose up -d``` | ||
3. Install dependencies: ```docker exec php composer install``` | ||
4. Run tests ```docker exec php vendor/bin/phpunit``` | ||
5. Visit https://localhost and accept the self-signed certificate | ||
|
||
**Environment variables:** | ||
|
||
- APP_ENV: the app environment (e.g "development", "production") | ||
- DOMAIN: the domain on which the app is being served (e.g "https://localhost") | ||
- DB_DRIVER: PDO driver to be used by Doctrine (e.g "pdo_sqlite") | ||
- DB_NAME: database name (filename in case of Sqlite) | ||
- DB_USER: database user (should be blank if using Sqlite) | ||
- DB_PASSWORD: database password (should be blank if using Sqlite) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.