]> git.feebdaed.xyz Git - lgtm-rsvp.git/commitdiff
add to .gitignore
authorseantywork <seantywork@gmail.com>
Sat, 19 Jul 2025 12:01:18 +0000 (12:01 +0000)
committerseantywork <seantywork@gmail.com>
Sat, 19 Jul 2025 12:01:18 +0000 (12:01 +0000)
.gitignore
README.md
config.yaml [deleted file]
config.yaml.tmpl [new file with mode: 0644]

index 6a2a5099d17ed079d99d28a0a0d895dfb4c280f2..d95c76d72513fbc49723e57c7ebf3d01346882ea 100644 (file)
@@ -12,4 +12,5 @@ data
 album.zip
 public/images/album
 public/images/album.zip
-log
\ No newline at end of file
+log
+config.yaml
\ No newline at end of file
index 3b0fe75d35cd80baf9413d43dbd641854cf9562a..10ee8ce96e3c11801523d9213b657ec13ccf5e46 100644 (file)
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ TCP on Port 80, 443, 22 should be enabled
 
 3. Clone this repository
 
-4. Carefully read and modify config.yaml
+4. Carefully read and modify config.yaml.tmpl and modify name as config.yaml
 
 5. You need to create api.json file
 
diff --git a/config.yaml b/config.yaml
deleted file mode 100644 (file)
index 38918d4..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# leave it
-test: -1
-# the actual serving address
-serveAddr: "0.0.0.0:8080"
-# needs to be external endpoint,
-# e.g https://mydomain.com
-url: "http://192.168.122.87:8080"
-# randomized hex string should go here
-sessionStore: "our-wedding-rsvp"
-# leave it
-db: 
-  addr: "data/rsvp.db"
-  initFile: "init.sql"
-# PLEASE SET useOauth2 = true
-# ID MUST BE YOUR EMAIL
-# EVEN IF YOU DO NOT USE OAUTH2
-admin:
-  useOauth2: false
-  id: seantywork@gmail.com
-  pw: sample
-# the path under which folder named "album" is placed
-# album should contain at least three images
-# for title, groom, bride in that order
-album:
-  addr: "public/images"
-title: "Taehoon & Suya"
-groom: "윤태훈"
-bride: "반수야"
-comment: "HAPPILY EVER AFTER"
-message: |
-  long message goes here <br><br>
-  like this <br><br>
-  over <br><br>
-  multiple lines <br><br>
-# external link
-giftPage: "#"
diff --git a/config.yaml.tmpl b/config.yaml.tmpl
new file mode 100644 (file)
index 0000000..38918d4
--- /dev/null
@@ -0,0 +1,36 @@
+# leave it
+test: -1
+# the actual serving address
+serveAddr: "0.0.0.0:8080"
+# needs to be external endpoint,
+# e.g https://mydomain.com
+url: "http://192.168.122.87:8080"
+# randomized hex string should go here
+sessionStore: "our-wedding-rsvp"
+# leave it
+db: 
+  addr: "data/rsvp.db"
+  initFile: "init.sql"
+# PLEASE SET useOauth2 = true
+# ID MUST BE YOUR EMAIL
+# EVEN IF YOU DO NOT USE OAUTH2
+admin:
+  useOauth2: false
+  id: seantywork@gmail.com
+  pw: sample
+# the path under which folder named "album" is placed
+# album should contain at least three images
+# for title, groom, bride in that order
+album:
+  addr: "public/images"
+title: "Taehoon & Suya"
+groom: "윤태훈"
+bride: "반수야"
+comment: "HAPPILY EVER AFTER"
+message: |
+  long message goes here <br><br>
+  like this <br><br>
+  over <br><br>
+  multiple lines <br><br>
+# external link
+giftPage: "#"