-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EW-998-doc added documentations for sync console
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Sync console | ||
This is a console application that allows you to start the synchronization process for different sources. | ||
|
||
## Usage | ||
To start the synchronization process, run the following command: | ||
```bash | ||
npm run nest:start:console sync run <target> | ||
``` | ||
|
||
Where `<target>` is the name of the system you want to start the synchronization for. The currently available systems are: | ||
- `tsp` - Synchronize Thüringer schulportal. | ||
|
||
If the target is not provided, the synchronization will not start and the available targets will be displayed in an error message. | ||
```bash | ||
{ | ||
message: 'Either synchronization is not activated or the target entered is invalid', | ||
data: { enteredTarget: 'tsp', availableTargets: { TSP: 'tsp' }} | ||
} | ||
``` | ||
## TSP synchronization | ||
The TSP synchronization is controlled with a feature flag `FEATURE_TSP_SYNC_ENABLED`. This is now set to `false`. |