From c0432d916643a66f5bae212cc690bd0e5b6807b9 Mon Sep 17 00:00:00 2001 From: Win Date: Fri, 19 Jul 2024 11:44:17 +0700 Subject: [PATCH] edited config --- .gitignore | 5 ++++- README.md | 7 ++++--- config.example.json | 8 ++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 config.example.json diff --git a/.gitignore b/.gitignore index 30bc162..19bfed8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -/node_modules \ No newline at end of file +/node_modules +.DS_Store +._DS_Store +config.json \ No newline at end of file diff --git a/README.md b/README.md index abaf1ac..a545227 100644 --- a/README.md +++ b/README.md @@ -127,10 +127,11 @@ git clone https://github.com/moom0o/PhotoSphereStudio.git ```bash npm install ``` +3. Rename `config.example.json` to `config.json` -3. Update the `config.json` file in the root directory of the project and fill it with the required information (clientId, clientSecret, etc.) +4. Update the `config.json` file in the root directory of the project and fill it with the required information (clientId, clientSecret, etc.) -4. Start the server +5. Start the server ```bash node index.js @@ -139,4 +140,4 @@ node index.js ## Support If you have any questions about how to set this up or about the source code, feel free to ask either **moom0o** ( -moo#0529 on Discord) or **WinsDominoes** (Win#7206 on Discord). +m.o.o.m.o.o on Discord) or **WinsDominoes** (winsdominoes on Discord). diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..9f7d2b6 --- /dev/null +++ b/config.example.json @@ -0,0 +1,8 @@ +{ + "https": false, + "host": "localhost", + "port": 7000, + "openWebBrowser": false, + "clientId": "XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com", + "clientSecret": "XXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXX" +}