Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
24 lines
744 B
Markdown
24 lines
744 B
Markdown
# scheduler
|
|
|
|
Service responsible for running scheduled jobs over Oracle data.
|
|
|
|
## To deploy
|
|
|
|
You must have set up the `gcloud` cli following the [functions/README](../functions/README.md#installing-for-local-development).
|
|
|
|
`./deploy-scheduler.sh [dev|prod]` will deploy to the respective environments.
|
|
|
|
## Operating
|
|
|
|
GCP instances in our projects use the Google "OS login" functionality. To SSH into them, you will need to associate an SSH key with your Google account (perhaps on both `dev-oracle` and `oracle`). If you do
|
|
|
|
```
|
|
$ gcloud compute ssh scheduler
|
|
```
|
|
|
|
it should prompt you to make a new key. Or to use an existing key you have, you can do:
|
|
|
|
```
|
|
$ gcloud compute os-login ssh-keys add --key-file=KEY_FILE_PATH --project=PROJECT
|
|
```
|