-
- 2.1. Built With
- 2.2. Installation
This is a deployment workflow that allows me to fully push a WordPress site (including the database) into version control and then deploy the site to the production server.
This project was built with the following frameworks, technologies and software.
Fork repo.
Note, all secrets and database are git-crypted. The real wp-config.php
file is already on the server and is symlinked during the process.
To deploy onto the staging server you can push to the master
git branch. Then manually run the github action to deploy.
If you wish to update this repository with the copy on vagrant, use the command;
./gitdeploy.sh
This is a bash script in the script-library repository (https://github.com/IORoot/script-library/tree/master/deploy) that will do the following steps:
- SSH into the specified vagrant machine (default dev.londonparkour.com) and run
dumpdb
in the vhost directory. - Move the dump file into this repo's
/wp-content/database/
folder so you have a copy of the latest vagrant DB. - Recursively update all git submodules in this repo to get all latest copies of themes and plugins.
- Git add all.
- Git commit to
master
unless otherwise specified. - Git push to github.
The gitdeploy
command also takes a single argument to push to another branch.
- login with google calendar on the gCal-importer plugin.
None.
None.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
MIT License
Copyright (c) 2022 Andy Pearson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Author Link: https://github.com/IORoot
v5.1.1
- Epic-slider mobile resize
- cache-busting on CSS and JS.
v5.1
- Epic-slider on homepage
- Blog CPT
- New class descriptions on /classes
- duration of classes
- subdomains sorted
- plugins added: rest-isometric, epic-slider, blog
v5.0.6
- Update wp-plugin__theme--custom-structure
v5.0.5
- wordfence installed
- added coupons
- class locations +waterloo
- changed 'discounts' page
- confirmation emails for PTs no longer have {injected_date}
v5.0.4
- Plugin Updates
- Wordpress update 5.8.1
- Class Locations +Archway
- Confirmation Emails: WhatsApp/Slack links, +Location Links
- Mailchimp on contact form
- contact form update to auto-reply with lateness solutions.
- Support page: Beginners class - lateness.
- Removed border of 5-item section on homepage
v5.0.1
- Fixes for pulse URL, AMP Titles and favicon.
v5.0.0
- New Tailwind, lightweight major overhaul of website.