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
+5-5
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ If you have Docker installed, run the following command to start SimpleLogin loc
56
56
```bash
57
57
docker run -it --rm \
58
58
-e RESET_DB=true \
59
-
-e CONFIG=/code/.env.example \
59
+
-e CONFIG=/code/example.env \
60
60
-p 7777:7777 \
61
61
simplelogin/app:1.0.0 python server.py
62
62
```
@@ -288,7 +288,7 @@ Finally, restart Postfix
288
288
289
289
### Run SimpleLogin Docker containers
290
290
291
-
To run the server, you need a config file. Please have a look at [config example](./.env.example) for an example to create one. Some parameters are optional and are commented out by default. Some have "dummy" values, fill them up if you want to enable these features (Paddle, AWS, etc).
291
+
To run the server, you need a config file. Please have a look at [config example](example.env) for an example to create one. Some parameters are optional and are commented out by default. Some have "dummy" values, fill them up if you want to enable these features (Paddle, AWS, etc).
292
292
293
293
Let's put your config file at `~/simplelogin.env`.
294
294
@@ -415,18 +415,18 @@ Then make sure all tests pass
415
415
pytest
416
416
```
417
417
418
-
To run the code locally, please create a local setting file based on `.env.example`:
418
+
To run the code locally, please create a local setting file based on `example.env`:
419
419
420
420
```
421
-
cp .env.example .env
421
+
cp example.env .env
422
422
```
423
423
424
424
Make sure to uncomment the `RESET_DB=true` to create the database locally.
425
425
426
426
Feel free to custom your `.env` file, it would be your default setting when developing locally. This file is ignored by git.
427
427
428
428
You don't need all the parameters, for example, if you don't update images to s3, then
429
-
`BUCKET`, `AWS_ACCESS_KEY_ID` can be empty or if you don't use login with Github locally, `GITHUB_CLIENT_ID` doesn't have to be filled. The `.env.example` file contains minimal requirement so that if you run:
429
+
`BUCKET`, `AWS_ACCESS_KEY_ID` can be empty or if you don't use login with Github locally, `GITHUB_CLIENT_ID` doesn't have to be filled. The `example.env` file contains minimal requirement so that if you run:
0 commit comments