- Install bun.
- Install package dependencies:
bun i - Clone, set up, and start running the discit-api project locally.
- Create and populate a
.envfile based on the.env.examplefile in the root directory.- The
API_URLvalue must match the URL of the discit-api project (http://localhost:5000 by default if running locally). - The
API_KEYvalue can be any string value, but must match the API_KEY in the discit-api project. - The
REFRESH_DISCS_STARTvalue can be set totrueto run the disc refresh process when the app starts. - The
REFRESH_DISCS_CRONvalue can be set totrueto automatically run the disc refresh process every night at midnight. - The
BACKUP_DIRvalue can be set to an absolute path for a directory where the backup files will be stored.
- The
- Start the refresh process:
bun start
-
Notifications
You must be signed in to change notification settings - Fork 0
Disc refresh service for the DiscIt API.
License
DiscIt-API/discit-api-refresh
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Disc refresh service for the DiscIt API.