Caution
This project is owned by the Upsun Advocacy team. It is in early stage of development [experimental] and only intended to be used with caution following with this blogpost.
This project is not supported by Upsun and does not qualify for Support plans. Use this repository at your own risks, it is provided without guarantee or warranty!
Contribute, request a feature, or check out our resources
Join our community
Documentation
Blog
Report a bug
Request a feature
Contents
About
Getting started
Learn
Contribute
DISCLAIMER:
This is an example of a Symfony codebase to import a Google RSS Feed into your Blackfire Timeline and host this project on Upsun.
This repo is used in this blogpost as a starting point for the users and is not meant to be updated along the way.
We have just created a new Symfony application to import Google Alert RSS feed entries on your Blackfire Timeline.
The generated code has been setup for a typical web application project hosted on Upsun.
- PHP 8.3
- SQLite database
To deploy this repository to Upsun, please following steps from this blogpost.
Then, the only command you need to use locally is to start your Symfony server and install dependencies using Composer:
symfony server:start [-d]
symfony composer install
- Troubleshooting
- Adding a domain and going live
- (CDN) Content Delivery Networks
- Performance and observability with Blackfire.io
- Pricing
- Security and compliance
Accessing logs
After the environment has finished its deployment, you can investigate issues on startup, deploy
and post_deploy
hooks, and generally at runtime using the CLI. Run the command:
upsun logs
If you are running the command outside a local copy of the project, you will need to include the -p
(project) and/or -e
(environment) flags as well.
Once you have connected to the container, logs are available within /var/log/
for you to investigate.
Rebuilding cache
You may run into a database error after installing Symfony on your production environment initially.
To fix, SSH into the api
application container (upsun ssh
) and rebuild the cache using Symfony console:
php bin/console cache:clear
php bin/console cache:pool:clear cache.app
This template includes a starting .blackfire.yml
file that can be used to enable Application Performance Monitoring, Profiling, Builds and Performance Testing on your project. Upsun comes with Blackfire pre-installed on application containers, and setting up requires minimal configuration.
- What is Blackfire?
- Configuring Blackfire.io on a Upsun project
- Blackfire.io Upsun documentation
- Profiling Cookbooks
- Monitoring Cookbooks
- Testing Cookbooks
- Using Builds
- Configuring Integrations
This template is maintained by the Upsun Developer Relations team, and they will be notified of all issues and pull requests you open here.
- Discord: If you haven't done so already, you can join Upsun's community on Discord channels and ping the
@devrel_team
with any questions.
This template has been specifically designed to deploy on Upsun.
What is Upsun?
Upsun is a unified, secure, enterprise-grade platform for building, running and scaling web applications. We’re the leader in Fleet Ops: Everything you need to manage your fleet of websites and apps is available from the start. Because infrastructure and workflows are handled from the start, apps just work, so teams can focus on what really matters: making faster changes, collaborating confidently, and scaling responsibly. Whether managing a fleet of ten or ten thousand sites and apps, Upsun is the Developer- preferred solution that scales right.
Our key features include:
-
GitOps: Git as the source of truth
Every branch becomes a development environment, and nothing can change without a commit.
-
Batteries included: Managed infrastructure
Simple abstraction in YAML for committing and configuring infrastructure, fully managed patch updates, and 24 runtimes & services that can be added with a single line of code.
-
Instant cloning: Branch, merge, repeat
Reusable builds and automatically inherited production data provide true staging environments - experiment in isolation, test, then destroy or merge.
-
FleetOps: Fleet management platform
Leverage our public API along with custom tools like Source Operations and Activity Scripts to manage thousands of applications - their dependency updates, fresh content, and upstream code.
Every one of our templates is open source, and they're important resources for users trying to deploy to Upsun for the first time or better understand the platform. They act as getting started guides, but also contain a number of helpful tips and best practices when working with certain languages and frameworks.
See something that's wrong with this template that needs to be fixed? Something in the documentation unclear or missing? Let us know!
How to contribute
Report a bug
Submit a feature request
Open a pull request
Need help?
Made with contrib.rocks