Clean documentation

This commit is contained in:
Romaric Mourgues
2023-04-17 17:00:03 +02:00
parent a46c6ca0a8
commit 88bd3b2a32
80 changed files with 138 additions and 2492 deletions
@@ -1,16 +1,16 @@
---
description: More details about Twake configuration.
description: More details about TDrive configuration.
---
# ⚙️ Server configuration
### Detach the configuration and start using your own
Each configuration file is optional, if not given, Twake will fallback to default configuration.
Each configuration file is optional, if not given, TDrive will fallback to default configuration.
#### Backend configuration
You can find an example of Twake configuration (default configuration) here: [https://github.com/TwakeApp/Twake/blob/main/twake/backend/node/config/default.json](https://github.com/TwakeApp/Twake/blob/main/twake/backend/node/config/default.json)
You can find an example of TDrive configuration (default configuration) here: [https://github.com/TDriveApp/TDrive/blob/main/tdrive/backend/node/config/default.json](https://github.com/TDriveApp/TDrive/blob/main/tdrive/backend/node/config/default.json)
Copy the content of this file and put it in `[docker-compose.yml location]/configuration/backend-node/production.json`
@@ -18,7 +18,7 @@ Copy the content of this file and put it in `[docker-compose.yml location]/confi
#### Backend configuration, PHP (only for scalable mode)
An example is available here: [https://github.com/TwakeApp/Twake/blob/main/twake/backend/core/app/Configuration/Parameters.php.dist](https://github.com/TwakeApp/Twake/blob/main/twake/backend/core/app/Configuration/Parameters.php.dist)
An example is available here: [https://github.com/TDriveApp/TDrive/blob/main/tdrive/backend/core/app/Configuration/Parameters.php.dist](https://github.com/TDriveApp/TDrive/blob/main/tdrive/backend/core/app/Configuration/Parameters.php.dist)
Copy the content of this file and put it in `[docker-compose.yml location]/configuration/backend/Parameters.php`
@@ -26,7 +26,7 @@ Copy the content of this file and put it in `[docker-compose.yml location]/confi
#### Frontend configuration (only for scalable mode)
You can find an example of Twake configuration (default configuration) here: [https://github.com/TwakeApp/Twake/blob/main/twake/frontend/src/app/environment/environment.ts.dist](https://github.com/TwakeApp/Twake/blob/main/twake/frontend/src/app/environment/environment.ts.dist)
You can find an example of TDrive configuration (default configuration) here: [https://github.com/TDriveApp/TDrive/blob/main/tdrive/frontend/src/app/environment/environment.ts.dist](https://github.com/TDriveApp/TDrive/blob/main/tdrive/frontend/src/app/environment/environment.ts.dist)
Copy the content of this file and put it in `[docker-compose.yml location]/configuration/frontend/environment.ts`