Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aoirint/harmonica-hasura.aoirint.com
aoirint/harmonica-hasuraの個人用インスタンス
https://github.com/aoirint/harmonica-hasura.aoirint.com
Last synced: about 1 month ago
JSON representation
aoirint/harmonica-hasuraの個人用インスタンス
- Host: GitHub
- URL: https://github.com/aoirint/harmonica-hasura.aoirint.com
- Owner: aoirint
- License: unlicense
- Created: 2023-04-24T16:55:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T11:13:49.000Z (about 1 month ago)
- Last Synced: 2024-11-21T12:22:31.396Z (about 1 month ago)
- Homepage: https://harmonica-hasura.aoirint.com
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# harmonica-hasura.aoirint.com
[aoirint/harmonica-hasura](https://github.com/aoirint/harmonica-hasura)の個人用インスタンス。
```shell
npm install -g hasura-cligit clone https://github.com/aoirint/harmonica-hasura.git
cd harmonica-hasuraexport "HASURA_GRAPHQL_ADMIN_SECRET=$(read -s -p "Admin Secret: "; echo $REPLY)"
hasura migrate apply --project="./hasura" --endpoint="https://harmonica-hasura.aoirint.com" --all-databases
hasura metadata apply --project="./hasura" --endpoint="https://harmonica-hasura.aoirint.com"
```## Backup & Restore
```shell
DUMP_SQL=$(sudo docker compose exec postgres pg_dump -U postgres --schema public --no-owner --no-acl --data-only --disable-triggers) && echo "$DUMP_SQL" > backups/dump_$(date -u "+%Y-%m-%dT%H-%M-%S_%6NZ").sqlcat backups/dump_2023-01-01T00-00-00_000000Z.sql | sudo docker compose exec -T postgres psql -U postgres --single-transaction
```