https://github.com/gitjournal/env
Backend Env
https://github.com/gitjournal/env
Last synced: about 1 year ago
JSON representation
Backend Env
- Host: GitHub
- URL: https://github.com/gitjournal/env
- Owner: GitJournal
- Archived: true
- Created: 2020-10-31T06:41:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T10:16:12.000Z (over 3 years ago)
- Last Synced: 2025-02-21T20:24:54.523Z (over 1 year ago)
- Language: PLpgSQL
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Requests postgres databases of -
* gotrue
* listmonk
* grafana
Both will first need to be created manually and then the migrations will need to be run in order to set them up.
For grafana data -
* chown 472.472 data/grafana -R
For prometheus data -
* ln -s /tmp/queries.active env/data/prometheus/queries.active
* chown nobody data/prometheus -R
* chgrp nogroup data/prometheus -R
# How to connect to Postgres
- /dt to list tables
- /l to list databases
- /c to connect to a database
## How to restore a database
- psql -U postgres -d gotrue -f gotrue.sql