Skip to content

Latest commit

 

History

History
244 lines (148 loc) · 7.36 KB

File metadata and controls

244 lines (148 loc) · 7.36 KB

logo


Upsun Template Snippets

Contribute to the Upsun knowledge base, or check out our resources

Join our Discord community       Blog       Documentation      

Upsun maintains a list of scripts that may be used within the template to ease its fine-tuning.

Contents:

raw.githubusercontent.com rate limit

On rare occasion, the rate limit on raw.githubusercontent.com my be hit. It can then be recommended to use a Personal Token to benefit from a much higher rate limit.

curl -H "Authorization: Bearer PERSONAL_TOKEN" -fsS https://raw.githubusercontent.com/upsun/snippets/main/src/script.sh | { bash /dev/fd/3 PARAMETERS; } 3<&0

Install FrankenPHP

To install FrankenPHP only once on your project:

curl -fsS https://raw.githubusercontent.com/upsun/snippets/main/src/install-frankenphp.sh | { bash /dev/fd/3 5.1.1 ; } 3<&0

Blackfire notifier (Activity script)

This activity script creates an event Marker on Blackfire side. This script is meant to be integrated with your Upsun project.