Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export from gcp and import into postgres #395

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: update the readme
  • Loading branch information
Sanix-Darker committed Apr 2, 2023
commit 0987e2d3ddb17d61279607512378e6c98c1f1a4b
11 changes: 11 additions & 0 deletions scripts/export-from-datastore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- make
- `client_secrets.json` file that should contain your gcp creds
- go (>=1.17 recommended)

## HOW TO INSTALL

Expand All @@ -15,6 +16,16 @@ make install

## HOW TO RUN

- to export from gcp

```bash
make export_data
```

- to import to postgres

```bash
# make sure to have a .env file available
# cp .env.example .env
make import_data
```