{"id":24911474,"url":"https://github.com/hackoregon/orestar-sync","last_synced_at":"2025-03-28T03:14:52.973Z","repository":{"id":40980011,"uuid":"203293136","full_name":"hackoregon/orestar-sync","owner":"hackoregon","description":"A service for syncing orestar records with the open elections db","archived":false,"fork":false,"pushed_at":"2022-12-08T05:20:54.000Z","size":71152,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-02T04:22:34.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hackoregon.png","metadata":{"files":{"readme":"README-Workflow.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-20T03:31:15.000Z","updated_at":"2024-09-27T23:40:01.000Z","dependencies_parsed_at":"2023-01-24T14:15:17.653Z","dependency_job_id":null,"html_url":"https://github.com/hackoregon/orestar-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Forestar-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Forestar-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Forestar-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Forestar-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackoregon","download_url":"https://codeload.github.com/hackoregon/orestar-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960813,"owners_count":20700781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-02-02T04:20:21.897Z","updated_at":"2025-03-28T03:14:52.945Z","avatar_url":"https://github.com/hackoregon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Host Testing - GitHub Workflow\nI've settled on this workflow for Linux host testing. It treats the `backend-examplar-2018` as a template, which simplified the `git` manipulations.\n\n## Create a new repository\n1. Log into GitHub\n2. Press the `+` button at the upper left and select \"Import repository\".\n3. Import from this repository with a new name.\n\n## Configuring the run\n1. Clone the repository you created above and `cd` into it.\n2. Copy your database backup into `Backups`. If the backup contains database ownership, you'll need to set `DEVELOPMENT_DATABASE_OWNER` in `.env` to the database owner.\n3. Copy `env.sample` to `.env` and edit `.env`:\n    * Change PROJECT_NAME\n    * Change DEVELOPMENT_POSTGRES_NAME\n    * Change DEVELOPMENT_DATABASE_OWNER\n    * Change STAGING_POSTGRES_NAME\n    * Change the passwords and secret keys\n\n## Running the creation\n1. Type `bin/create-api-project.sh`. This will build a database image with your backup restored, and an API image. The project scaffolding from the API image will be stored in the repository.\n2. When the run completes, examine `db_container.log` to verify that the restore worked.\n3. Check your remote - `git remote -v`. Make sure you'll be pushing to the new repository, not the template!\n4. `git add .; git commit; git push`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackoregon%2Forestar-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackoregon%2Forestar-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackoregon%2Forestar-sync/lists"}