Upsun Support Team
Posts
-
How do I get a postgres connection string for prisma2 framework
Goal To create a postgresql connection string from the PLATFORM_RELATIONSHIPS environment variable. Assumptions You have nodejs installed in your container. You have postgresql You know how to w...
-
How to back up environment variables
Introduction You always need to store some sensitive data for your application to work. But you should never store them in your git repository. For this, you can use environment variables to defin...
-
How to use wkhtmltopdf on platform.sh
Goal wkhtmltopdf is a tool to generate PDF files from HTML. It can also be used from within drupal. This article will explain how to install it on platform.sh Installing You can install the wkht...
-
How to kill stuck processes that block your deployments
One of the most common causes for environment builds that get stuck is a runaway/stuck process. To ensure data consistency, the deployment flow tries to terminate running processes gracefully. Some...
-
How to run CryptPad on Platform.sh
Goal Here you can find what is needed to run CryptPad on Platform.sh. You will see soon that it doesn’t take much at all, and very quickly you will be able to collaborate on slides, sheets, and o...
-
How to run Grocy on Platform.sh
Goal Grocy is an awesome app one can use to manage groceries, food stock, recipes, chores and more. It’s like a personal ERP, I am using it to hoard responsibly without wasting food and other hou...
-
How to use environment variables with nuxtjs on Platform.sh
Goal To use environment variables in a nuxtjs app on Platform.sh Problem Nuxt currently provides a very handy way of injecting environment variables which uses webpack substitution to inject your...
-
How to monitor long running scripts with pv
Goal Sometimes you want to run a long running process without feedback. PV is a tool that allows you to do just that. Example Running a mysqldump mysqldump <yourparams> | pv --progress --size 10...
-
Script to check for deprecated or newer available runtimes and services versions
Overview Every time you redeploy an environment, the script will: check the versions of your project’s services and runtimes. compare those versions with the Platform.sh registry. send a Slack no...
-
How to install custom / private Wordpress plugins and themes with Composer
Goal Add custom/private plugins or themes that are not publicly available to your Wordpress installation on Platform.sh using composer. Assumptions A WordPress installation on Platform.sh that u...