From: seantywork Date: Sat, 19 Jul 2025 12:01:18 +0000 (+0000) Subject: add to .gitignore X-Git-Url: https://git.feebdaed.xyz/?a=commitdiff_plain;h=9ad93732e35abcf6f78fd52eac8188c57ad1d127;p=lgtm-rsvp.git add to .gitignore --- diff --git a/.gitignore b/.gitignore index 6a2a509..d95c76d 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/README.md b/README.md index 3b0fe75..10ee8ce 100644 --- 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 index 38918d4..0000000 --- a/config.yaml +++ /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

- like this

- over

- multiple lines

-# external link -giftPage: "#" diff --git a/config.yaml.tmpl b/config.yaml.tmpl new file mode 100644 index 0000000..38918d4 --- /dev/null +++ b/config.yaml.tmpl @@ -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

+ like this

+ over

+ multiple lines

+# external link +giftPage: "#"