{"id":24911453,"url":"https://github.com/hackoregon/elections-2018-backend","last_synced_at":"2025-10-03T19:51:17.770Z","repository":{"id":40986726,"uuid":"132366055","full_name":"hackoregon/elections-2018-backend","owner":"hackoregon","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-21T21:18:39.000Z","size":3186,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-07T18:03:09.626Z","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":"2018-05-06T18:41:07.000Z","updated_at":"2019-09-29T05:36:26.000Z","dependencies_parsed_at":"2022-08-27T21:10:41.294Z","dependency_job_id":null,"html_url":"https://github.com/hackoregon/elections-2018-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hackoregon/elections-2018-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Felections-2018-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Felections-2018-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Felections-2018-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Felections-2018-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackoregon","download_url":"https://codeload.github.com/hackoregon/elections-2018-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackoregon%2Felections-2018-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278219765,"owners_count":25950349,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-02-02T04:20:16.449Z","updated_at":"2025-10-03T19:51:17.734Z","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%2Felections-2018-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackoregon%2Felections-2018-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackoregon%2Felections-2018-backend/lists"}