https://github.com/pantheon-quicksilver/wakeup
A simple script to wake up a sleeping site environment.
https://github.com/pantheon-quicksilver/wakeup
hacktoberfest hackweek
Last synced: 7 months ago
JSON representation
A simple script to wake up a sleeping site environment.
- Host: GitHub
- URL: https://github.com/pantheon-quicksilver/wakeup
- Owner: pantheon-quicksilver
- License: mit
- Created: 2021-07-27T14:55:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-29T09:18:52.000Z (over 4 years ago)
- Last Synced: 2025-11-16T12:22:49.652Z (8 months ago)
- Topics: hacktoberfest, hackweek
- Language: PHP
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Wake Up!
This is simple script that can be used to wake up a site environment by pinging the public URL before running any other Quicksilver scripts.
### Installation
This project is designed to be included from a site's `composer.json` file, and placed in its appropriate installation directory by [Composer Installers](https://github.com/composer/installers).
In order for this to work, you should have the following in your composer.json file:
```json
{
"require": {
"composer/installers": "^1"
},
"extra": {
"installer-paths": {
"web/private/scripts/quicksilver": ["type:quicksilver-script"]
}
}
}
```
The project can be included by using the command:
`composer require pantheon-quicksilver/wakeup`
### Example `pantheon.yml`
```yaml
api_version: 1
workflows:
sync_code:
after:
- type: webphp
description: Wakeup!
script: private/scripts/quicksilver/pantheon-quicksilver/wakeup.php
```