{"id":15714031,"url":"https://github.com/hashnuke/wordpress-deploy","last_synced_at":"2025-10-07T14:25:57.976Z","repository":{"id":66983769,"uuid":"480484676","full_name":"HashNuke/wordpress-deploy","owner":"HashNuke","description":"🔐 Secure and 🤑 budget-friendly Wordpress setup for your digital garden 🏡","archived":false,"fork":false,"pushed_at":"2023-11-29T00:28:23.000Z","size":1073,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-12T23:48:16.038Z","etag":null,"topics":["ansible","digital-garden","digitalocean","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HashNuke.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":"2022-04-11T17:33:56.000Z","updated_at":"2023-10-06T15:25:38.000Z","dependencies_parsed_at":"2023-11-29T01:41:16.116Z","dependency_job_id":null,"html_url":"https://github.com/HashNuke/wordpress-deploy","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/HashNuke%2Fwordpress-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fwordpress-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fwordpress-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fwordpress-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HashNuke","download_url":"https://codeload.github.com/HashNuke/wordpress-deploy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843166,"owners_count":21972868,"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":["ansible","digital-garden","digitalocean","php","wordpress"],"created_at":"2024-10-03T21:34:34.667Z","updated_at":"2025-10-07T14:25:52.940Z","avatar_url":"https://github.com/HashNuke.png","language":"PHP","readme":"# wordpress-deploy\n\n[Install](#install) | [Deploy a site](#deploy-a-site) | [Configuration options](docs/configuration.md) | [FAQs](docs/faqs.md)\n\n![Deploy wordpress sites to $5 servers in a few minutes](docs/intro-image.png)\n\n-----\n\nUse this to setup blogs for your family or landing pages for your side-projects. (*Hint: Gutenberg editor Full Site Editing is 🔥*)\n\n* 😍 Easy to configure\n* 💰 Budget-friendly setup. Stuff as many sites as you can on your $5 server.\n* ♻️ Automated weekly backups by email + daily backups on server ([docs](docs/backups.md))\n* 💪 Firewall protection with `ufw`\n* ⚡️ Pre-installs [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/) for speed optimization\n* 🧪 Tested on [DigitalOcean](https://www.digitalocean.com/)\n* ⛑ Wordpress update email alerts\n* 👮‍♀️ Server monitoring with email alerts *(👨‍💻 Coming soon)*\n\n\u003e You still need to enable disk backups with your cloud provider.\n\n## Install\n\nInstall python3 and clone this repository.\n\n```\ngit clone https://github.com/HashNuke/wordpress-deploy.git wordpress-deploy\ncd wordpress-deploy\n\n# 👇👇👇 Start a python virtual environment\npython3 -m venv venv \u0026\u0026 source venv/bin/activate\n# 👆👆👆 Ensure to run the above command.\n\n# Install ansible. This project only needs ansible.\n# Else your terminal will not find the \"ansible-playbook\" command.\npip3 install ansible\n```\n\n## Deploy a site\n\n\u003e Please follow the same order of instructions to avoid issues.\n\n### [Step-1] Create a server with Ubuntu 22.04 (LTS) on your cloud provider\n\nEnsure to choose SSH key as the authentication method and add the SSH key to your local SSH key agent.\n\n```\nssh-add ~/.ssh/mykey\n```\n\n### [Step-2] Add DNS records for domain/subdomains\n\n* Domain/subdomain for the website.\n* Domain/subdomain for email notifications (backup emails, alerts, etc). Add an A-record for this.\n\n\u003e These two can be the same domain/subdomain.\n\n### [Step-3] Create a config file for the site\n\n```\ncp sites/sample.yml path/to/mysite.yml\n```\n\n\u003e The sample config file has details about configuration options. Give it a read.\n\n### [Step-4] Deploy\n\nNow let's deploy this site the server `example.com`. You can also use an IP address like `1.2.3.4`\n\n**PLEASE do not ignore the comma. Notice the value is \"example.com,\" in the command below.**\n\n```\nansible-playbook setup.yml \\\n-i \"example.com,\" \\\n--extra-vars @/path/to/mysite.yml\n```\n\n### 👉 Login credentials + New site checklist 😃\n\nThe wordpress admin user will receive an email with login credentials for the admin user. This email also includes a checklist for your new site.\n\n\u003e **[IMPORTANT]** *If you do not find this email in your inbox, please check your spam folder. And if you still do not find it then check the instructions below the screenshot.*\n\n![Post-install email with instructions](docs/images/post-install-email.png)\n\n#### Find default password for admin user\n\nIf you do not get an email after setting up a new site, then you can still access the password for the admin user. The default password is stored as a file on the server.\n\nAssuming your `site_name` is \"mysite\", your default wordpress admin password can be found at the following path on the server.\n\n```\n/sites/mysite/config/default-password\n```\n\n## More documentation\n\n* [Configuration Options](docs/configuration.md)\n* [Backups](docs/backups.md)\n* [FAQs](docs/faqs.md)\n\n## License\n\n```\nCopyright (C) from 2022 till date: Akash Manohar John\nCheck the LICENSE file for more info.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashnuke%2Fwordpress-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashnuke%2Fwordpress-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashnuke%2Fwordpress-deploy/lists"}