|
1 |
| -# sre-wp-pull |
| 1 | +# sre-wp-pull |
| 2 | + |
| 3 | +Creative Commons Site Reliability Engineering WordPress Data Pull |
| 4 | + |
| 5 | +**:warning: Destroys and replaces destination data** |
| 6 | + |
| 7 | + |
| 8 | +## To Do |
| 9 | + |
| 10 | +- WordPress Multisite rename |
| 11 | +- Additional testing/validation |
| 12 | + |
| 13 | + |
| 14 | +## Assumptions |
| 15 | + |
| 16 | +1. Destination web hosting and WordPress are configured indipendently (ex. by |
| 17 | + SaltStack) |
| 18 | +2. WordPress source data was created using |
| 19 | + [/states/wordpress/files/backup_wordpress.sh][backup] found in the |
| 20 | + [creativecommons/sre-salt-prime][salt-prime] repository. |
| 21 | + |
| 22 | +[salt-prime]: https://github.com/creativecommons/sre-salt-prime |
| 23 | +[backup]: https://github.com/creativecommons/sre-salt-prime/blob/master/states/wordpress/files/backup_wordpress.sh |
| 24 | + |
| 25 | + |
| 26 | +## Use |
| 27 | + |
| 28 | +1. Optionally, run [`backup_wordpress.sh`][backup-sh] on the source host |
| 29 | +2. Clone this repository |
| 30 | +3. Make a copy of one of the appropriate [`config_examples/`](config_examples/) |
| 31 | +4. Execute script with config file as only argument. For example: |
| 32 | + ```shell |
| 33 | + ./wp-pull.sh chapters__stage |
| 34 | + ``` |
| 35 | + |
| 36 | + |
| 37 | +## Code of Conduct |
| 38 | + |
| 39 | +[`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md): |
| 40 | +> The Creative Commons team is committed to fostering a welcoming community. |
| 41 | +> This project and all other Creative Commons open source projects are governed |
| 42 | +> by our [Code of Conduct][code_of_conduct]. Please report unacceptable |
| 43 | +> behavior to [conduct@creativecommons.org](mailto:conduct@creativecommons.org) |
| 44 | +> per our [reporting guidelines][reporting_guide]. |
| 45 | + |
| 46 | +[code_of_conduct]:https://creativecommons.github.io/community/code-of-conduct/ |
| 47 | +[reporting_guide]:https://creativecommons.github.io/community/code-of-conduct/enforcement/ |
| 48 | + |
| 49 | + |
| 50 | +## Contributing |
| 51 | + |
| 52 | +See [`CONTRIBUTING.md`](CONTRIBUTING.md). |
| 53 | + |
| 54 | + |
| 55 | +## License |
| 56 | + |
| 57 | +- [`LICENSE`](LICENSE) (Expat/[MIT][mit] License) |
| 58 | + |
| 59 | +[mit]: http://www.opensource.org/licenses/MIT "The MIT License | Open Source Initiative" |
0 commit comments