Skip to content

Commit ad675bb

Browse files
committed
Protect .env in the git repo
1 parent 8e4d02a commit ad675bb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: .env renamed to .env.example

File renamed without changes.

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
vendor
2-
*.log
2+
*.log
3+
.env

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The code also use [json-rpc.php](https://github.com/jcubic/json-rpc) for JSON-RP
99

1010
To use this code:
1111
1. Run `composer install` (composer need to be installed on your system)
12-
2. Modify `.env` file with username, password and the rest of the configuration
12+
2. Copy `.env.example` to `.env` and set username, password, secrets, and the rest of the configuration
1313

1414
To test this in action you can check: https://terminal.jcubic.pl/jwt/
1515
The username and password is default (demo:demo).

0 commit comments

Comments
 (0)