{"id":20906137,"url":"https://github.com/distributedlife/p2","last_synced_at":"2025-05-13T05:31:30.080Z","repository":{"id":8408741,"uuid":"9992490","full_name":"distributedlife/p2","owner":"distributedlife","description":"Test site for the magazine style","archived":true,"fork":false,"pushed_at":"2013-12-03T05:36:13.000Z","size":18875,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"source","last_synced_at":"2025-02-18T23:12:39.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/distributedlife.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.markdown","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-10T23:52:15.000Z","updated_at":"2024-12-09T22:32:24.000Z","dependencies_parsed_at":"2022-07-29T23:19:27.567Z","dependency_job_id":null,"html_url":"https://github.com/distributedlife/p2","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/distributedlife%2Fp2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedlife%2Fp2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedlife%2Fp2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedlife%2Fp2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distributedlife","download_url":"https://codeload.github.com/distributedlife/p2/tar.gz/refs/heads/source","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253883016,"owners_count":21978590,"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":"2024-11-18T13:29:11.961Z","updated_at":"2025-05-13T05:31:25.194Z","avatar_url":"https://github.com/distributedlife.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P2 Magazine\n## How to push to your own staging\n\n1. Fork the `distributedlife/p2` repository\n1. Checkout `your_fork/p2` and make sure `origin` is the name of the remote\n1. Ensure there is a branch called `gh-pages` in your new fork\n1. **be careful**: The script `rm -rf *` the `../public` and `../redirects` folder from wherever `publish.sh` is called. Make sure you don't have such folders.\n1. `./publish.sh \"some commit message\"`\n - This script will call `rake generate`\n - It will delete the `../public` and `../redirects` folders\n - It will then copy `public` and `redirects` up a directory\n - It will then checkout the `gh-pages` branch\n - It does a `pull --rebase`\n - It will `rm -rf *` the entire repo\n - It will copy back in the `public` and `redirects`\n - It adds all the things into the repo\n - It makes a commit using your message\n - It pushes to `origin gh-pages`\n - It checks out source.\n\n# How to push to PRODUCTION\nWe publish a new issue on the first Tuesday of each month.\n\n1. Make sure you have push rights to `thoughtworks/p2`\n1. Add a remote called `tw` that goes to `thoughtworks/p2`\n1. Run the `./to_prod_and_beyond.sh`. It's exactly the same as the `publish.sh` script except the repo is hard-coded to `tw gh-pages`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributedlife%2Fp2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistributedlife%2Fp2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributedlife%2Fp2/lists"}