Milos Knezevic
Articles
-
Can the CLI run Drush commands on my container?
Yes! The CLI command is: platform drush wd-show -- --type=php In addition, it is also possible to use the ssh option: platform ssh "drush wd-show --type=php"
-
Can I change the timezone of my project?
Yes. All Platform.sh containers default to running in UTC time, but you can change it if necessary. The exact method used to do so depends on the runtime used by your app. See how to change your ti...
-
How to Add a Second Domain to Your Application
To make your application accessible via multiple URLs, you can easily add additional domains to your Upsun project.To add a new domain to your project: In the Console, navigate to your specific pro...
-
A workflow for ongoing developing and testing with DDEV and Upsun
With the DDEV integration support for Upsun, we can prepare a workflow for a sustainable development cycle. This works best if we take advantage of a few of the power tools for this. I won't be abl...
-
Spring and Platform.sh Getting started
Deploy Friday: E09 Spring Framework https://www.youtube.com/watch?v=Y5dcDyeRlDQ The Spring Framework is an application framework and inversion of control container for the Java platform. Try Sprin...
-
How to sync database backups to Amazon S3
GoalTo transfer regular database backups to Amazon S3. AssumptionsYou will need: An SSH key configured on your Upsun account A project with a configured database (PostgreSQL in this example) Probl...
-
How do I fix "fatal: the remote end hung up unexpectedly" while pushing from a GitLab pipeline to Upsun?
While pushing to Upsun git repository from our GitLab runner, the pipeline fails with the following error: fatal: the remote end hung up unexpectedly.The GitLab runner 8.9 introduced a new feature...
-
How can I forward my logs to Splunk?
Splunk recommended forwarder, Filebeat, and the Splunk Universal Forwarder expect a file system with write access to ship logs to their indexers. Upsun by design is set-up to host applications on a...
-
How to fail a build on failing unit tests
GoalEvery time a push is made, run all unit tests. If tests fail, the build should fail and not be deployed. AssumptionsDuring the build phase no services are available. That means only tests that ...
-
Compile your Python code to Pycache on Upsun
When the python interpreter executes python files, it compiles them to byte code and saves it as files in a directory called __pycache__ in the same directory as the code itself. You might have see...