{"id":19655811,"url":"https://github.com/wraithkenny/dev","last_synced_at":"2026-05-06T19:01:24.708Z","repository":{"id":42966955,"uuid":"206862966","full_name":"WraithKenny/dev","owner":"WraithKenny","description":"My local dev template","archived":false,"fork":false,"pushed_at":"2023-08-03T06:30:43.000Z","size":4711,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T00:35:56.496Z","etag":null,"topics":["docker","docker-compose","ssl","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WraithKenny.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-06T19:41:32.000Z","updated_at":"2023-04-06T20:03:54.000Z","dependencies_parsed_at":"2024-11-11T15:25:07.845Z","dependency_job_id":"51aa617c-9dde-40a2-a7c0-d1d15cd8f9ef","html_url":"https://github.com/WraithKenny/dev","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/WraithKenny%2Fdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WraithKenny%2Fdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WraithKenny%2Fdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WraithKenny%2Fdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WraithKenny","download_url":"https://codeload.github.com/WraithKenny/dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240964341,"owners_count":19885730,"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":["docker","docker-compose","ssl","wordpress"],"created_at":"2024-11-11T15:23:56.406Z","updated_at":"2025-10-29T14:12:23.777Z","avatar_url":"https://github.com/WraithKenny.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# local-ssl for Mac.\nCreates a Local Certificate authority, generates local certs, and wires it up to *Docker Compose*.\n\n**You might to have to regenerate your SSL Certs if you want this to work on Mac 10.15** ***Sorry, but Apple did it.***\n\n## Getting Started\n*Please don't run this on a PC. I have no idea what'll happen.*\n\n* run `npx degit WraithKenny/dev`\n* do some light search and replace on a few strings like `some-theme` (rename folder too), `wordpress.org.test`, and `Some_Theme`, and `sometheme`.\n* then `npm i \u0026\u0026 npm run dev`\n\nThe last command will do a lot of things.\n 1. Set a domain in your `hosts` file (default `www.wordpress.org.test` but feel free to search/replace in in **all** of the files before running it.)\n 1. Install a local **Certificate Authority** if you don't have one. (Will ask you to set a password) This is saved in your user root `~` for future usage.\n 1. Will attempt to Trust the CA (will prompt for user password)\n 1. Create a local Cert (Will prompt you for your local-CA password)\n 1. Install npm packages like normal\n 1. Will start up, and bring down *Docker*, to set up your Volumes.\n 1. Will install composer files (Coding Standard \u0026 themes/plugins)\n 1. Will restart *Docker*\n 1. Will start *Webpack* and *BrowserSync* in dev mode, opening your browser to your SSL dev environment with Hot Reloading.\n\n## The URL variable and the local domain\nThere's an `npm` script for adding your local domain to your `hosts` file. Change `URL` to match what's in `./dev-config/localhost.ext`\n\nThis `URL` variable is used (and should be changed) in 3 locations\n 1. `package.json` (in the `\"add-localhost\"` script)\n 1. `gulpfile.babel.js` (`host` and `proxy` fields for *BrowserSync*)\n 1. `localhost.ext` (the file that is used to generate the *SSL Cert*)\n\n## The *Docker Compose* file\nThe `docker-compose.yml` file is pretty generic, except its set up for SSL (by mounting some config files and your certs), and it uses environmental vars.\n\nFeel free to change the `.env` file vars. `COMPOSE_PROJECT_NAME` is so Composer doesn't get confused between projects that are in folders with the same name. Also rename your theme folder which is named `some-theme` in this repo with whatever you change `THEME_FOLDER` to. Keep in mind, I've used this string as both the folder name of the theme, and the localization string in the theme.\n\n## Extras\nThis project is set up for SSL on local dev, hot reloading, SASS Compiling, Babel/Webpack bundling, VSCode boiler, Coding Standards, etc.\n\nIt also comes with scripts to persist your database to file, so you can commit it to `git` if you'd like. When Docker boots up, and it's Volumes (like for the database), it'll automatically load that saved database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraithkenny%2Fdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwraithkenny%2Fdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraithkenny%2Fdev/lists"}