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" +}