{"id":21419026,"url":"https://github.com/runmaxde/max-run","last_synced_at":"2026-03-04T06:31:43.962Z","repository":{"id":42629756,"uuid":"428047693","full_name":"runmaxde/max-run","owner":"runmaxde","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T08:56:28.000Z","size":565,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T08:58:05.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://max.run","language":"TypeScript","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/runmaxde.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2021-11-14T21:40:11.000Z","updated_at":"2024-04-22T09:47:51.000Z","dependencies_parsed_at":"2024-01-13T01:48:02.815Z","dependency_job_id":"c358b1e5-a56d-4ee2-a791-90f93e72039c","html_url":"https://github.com/runmaxde/max-run","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/runmaxde/max-run","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runmaxde%2Fmax-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runmaxde%2Fmax-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runmaxde%2Fmax-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runmaxde%2Fmax-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runmaxde","download_url":"https://codeload.github.com/runmaxde/max-run/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runmaxde%2Fmax-run/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30074145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"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":[],"created_at":"2024-11-22T19:33:38.699Z","updated_at":"2026-03-04T06:31:43.944Z","avatar_url":"https://github.com/runmaxde.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personal Blog and Knowledge-Base\n\n# Development\n\n## DB: Prisma \u0026 PlantScale\n\n### Initial Setup\n\n#### 1. Create DB on PlanetScale\n\n#### 2. Automatically copy migration data\n\n- Head ove to `Settings` Tab\n- Activate `Automatically copy migration data`\n- Pick `Prisma` as Migration Framework\n\n#### 3. Create branches and open locally\n\n```\npscale branch create YOUR_DB_NAME initial-setup\npscale branch create YOUR_DB_NAME shadow\n```\n\n```shell\n# Terminal 1\n\npscale connect YOUR_DB_NAME initial-setup --port 3309\n```\n\n```shell\n# Terminal 2\n\npscale connect YOUR_DB_NAME shadow --port 3310\n```\n\n#### 4. Local `.env`\n\n```\n# .env\n\nDATABASE_URL=\"mysql://root@127.0.0.1:3309/YOUR_DB_NAME\"\nSHADOW_DATABASE_URL=\"mysql://root@127.0.0.1:3310/YOUR_DB_NAME\"\n```\n\n#### 5. Prisma schema adjustments\n\n```\ndatasource db {\n  provider             = \"mysql\"\n  url                  = env(\"DATABASE_URL\")\n  shadowDatabaseUrl    = env(\"SHADOW_DATABASE_URL\")\n  referentialIntegrity = \"prisma\"\n}\n\ngenerator client {\n  provider        = \"prisma-client-js\"\n  previewFeatures = [\"referentialIntegrity\"]\n}\n```\n\n#### 6. Migrate Schema\n\n```bash\nnpx prisma migrate dev --name init\n```\n\n#### 7. Deploy changes\n\n```\npscale deploy-request create YOUR_DB_NAME initial-setup\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunmaxde%2Fmax-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunmaxde%2Fmax-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunmaxde%2Fmax-run/lists"}