{"id":21497307,"url":"https://github.com/paulo-amaral/metabase-tips","last_synced_at":"2026-05-18T09:36:17.128Z","repository":{"id":236879827,"uuid":"793339292","full_name":"paulo-amaral/metabase-tips","owner":"paulo-amaral","description":"Metabase scripts ","archived":false,"fork":false,"pushed_at":"2025-09-04T01:18:22.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T03:20:50.633Z","etag":null,"topics":["metabase","python","python3","shelkl","shell","shell-script","shell-scripting"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulo-amaral.png","metadata":{"files":{"readme":"README.md","changelog":"change_mb_pwd.py","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-29T03:09:46.000Z","updated_at":"2025-09-04T01:18:25.000Z","dependencies_parsed_at":"2024-04-29T04:25:12.975Z","dependency_job_id":"6c2f07dc-2e47-4f1f-8882-9865c8fa15b1","html_url":"https://github.com/paulo-amaral/metabase-tips","commit_stats":null,"previous_names":["paulo-amaral/metabase-tips"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paulo-amaral/metabase-tips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fmetabase-tips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fmetabase-tips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fmetabase-tips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fmetabase-tips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulo-amaral","download_url":"https://codeload.github.com/paulo-amaral/metabase-tips/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fmetabase-tips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["metabase","python","python3","shelkl","shell","shell-script","shell-scripting"],"created_at":"2024-11-23T16:23:06.146Z","updated_at":"2026-05-18T09:36:17.116Z","avatar_url":"https://github.com/paulo-amaral.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metabase tips\n## Running localy instance of metabase and postgres outside of docker\n#### Dump your db to localhost\n1 - Create a new postgresql server in that app(mac uses postgres.app) - https://postgresapp.com or stackbricks(windows) https://stackbricks.app/\n\n2 - Create a database in that server : `create database your_db` \n\n3 - Restore this dump into that db `pg_restore -Ox -d your_db ./your_db.custom ` where your db custom is the latest dump to restore\n\nIf you want to run the actual metabase database (with all the questions built already). \nJust need to run the metabase executable with environment vars that tell it to use that db\n\ncreate a database in that server `create database your_metabase_db`\n\nrestore this dump into that db `pg_restore -Ox -d your_metabase_db ./your_metabase_db.custom`\n\nI run outside of docker, just using java and use a script like this:\n```\n#!/bin/sh\nexport MB_DB_TYPE=postgres\nexport MB_DB_DBNAME=my_mb_db\nexport MB_DB_PORT=5432\nexport MB_DB_USER=username\nexport MB_DB_PASS=\nexport MB_DB_HOST=localhost\njava -jar ~/Downloads/metabase.jar\n#telling metabase to use postgres on localhost:5432 and the db my_mb_db\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulo-amaral%2Fmetabase-tips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulo-amaral%2Fmetabase-tips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulo-amaral%2Fmetabase-tips/lists"}