Milos Knezevic
Articles
-
How to migrate database changes between environments
Assumptions This guide assumes:an active application on Upsun configured to a databaseA local repository with the Upsun project as git remoteThe Upsun CLI installed locallyAn SSH key configured on ...
-
Missing Libraries for Headless Chromium
If you encounter errors with missing libraries when using a headless chrome/chromium setup and you can't use the headless chromium container image. An alternative is to pull the libraries via wget/...
-
Install Django with SQLite on Upsun
What are we deploying?We’ll deploy Django running on Gunicorn with a SQLite database. This is the most basic setup for a Django project on Upsun and it will introduce the basic ideas. The instructi...
-
Error when using pnpm as package manager
During build step, if you encounter the following error during the build step with pnpm.Error encounteredW: @kps/booking:build: ERROR: command finished with error: exec: "pnpm": executable file no...
-
How-to setup Github actions to work with Upsun environments
In order to interact with Upsun environments from Github actions you first need an API token.Then add the token to your Github repository secrets, and make sure the secret / variable is named UPSU...
-
How to Check my Fastly CDN peformance (Cache hit ratio)
GoalTo review how effective the cache layer is, you may want to check the “Hit Ratio” of the content it is serving.A busy read-only site with its cache preferences properly configured can be seen t...
-
Java Email at Upsun
Electronic mail is a method of exchanging messages between people using electronic devices. In this post, we’ll explain how to send an email message with Java through Upsun.By default, only the mas...
-
Why is the .upsun.app.yaml file separate from the .upsun folder?
The files in .upsun control the environment at a cluster level. They define what services should be in the cluster.The .upsun.app.yaml file defines the behavior of one single application container,...
-
How are mounts in .upsun.app.yaml sized?
Mount sizes are defined with the disk key in your .upsun.app.yaml configuration file.Mounts are entirely optional - it may not be necessary for your application to have write access. If not, you wi...
-
Build process (build hook)
Your application gets built during the build phase, using the configuration files committed to the code repository and the core building configuration in .platform.app.yaml. The following events ha...