edited config

This commit is contained in:
Win 2024-07-19 11:44:17 +07:00
parent dd2d2e63f8
commit c0432d9166
3 changed files with 16 additions and 4 deletions

3
.gitignore vendored
View File

@ -1 +1,4 @@
/node_modules
.DS_Store
._DS_Store
config.json

View File

@ -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).

8
config.example.json Normal file
View File

@ -0,0 +1,8 @@
{
"https": false,
"host": "localhost",
"port": 7000,
"openWebBrowser": false,
"clientId": "XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com",
"clientSecret": "XXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}