From dfb07dba5a9af6d3c292ff711c061a89ab136fb7 Mon Sep 17 00:00:00 2001 From: H1rono Date: Thu, 21 Nov 2024 01:59:23 +0900 Subject: [PATCH 1/2] :wrench: Add .env.example --- .env.example | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..7d21478f --- /dev/null +++ b/.env.example @@ -0,0 +1,7 @@ +MARIADB_HOSTNAME=localhost +MARIADB_USERNAME=root +MARIADB_PASSWORD=password +MARIADB_DATABASE=jomon +MARIADB_PORT=3306 +IS_DEBUG_MODE=true +UPLOAD_DIR=./uploads From d089c230ceaeea3f67c33c86c9eb0d1d7be79802 Mon Sep 17 00:00:00 2001 From: H1rono Date: Thu, 21 Nov 2024 02:03:08 +0900 Subject: [PATCH 2/2] :pencil: Mention `.env.example` in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61bfceeb..a3e0ebee 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ make down ## Staging -1. Set .env file. +1. Set `.env` file. You can refer to `.env.example` as an example. - `IS_DEBUG_MODE`: Set `true` if you want to run the server in debug mode, otherwise do not set this variable. - `PORT`: Port number for Jomon staging server