---
title: "Deploying and running apps: 41 guides | StreetHosting"
description: "PM2, systemd, Node, Python and how to keep a process up without babysitting it. Browse the 41 StreetHosting guides on this subject."
url: "https://streethosting.com.br/en/guides/topics/deploy"
type: "page"
language: "en-US"
---

# Deploying and running apps

PM2, systemd, Node, Python and how to keep a process up without babysitting it.

41 guides across 3 categories

Search guides

/

All41 Minecraft4 VPS24 Discord Bots13

Filters and sorting

41 guides

[Discord bots Beginner 24/7 Discord bot hosting in Brazil Discord bot hosting 24/7 combines a process manager with automatic restart, a token kept out of your code, logs and a server in Brazil for low latency to the API and your players. 6 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-24-7) [Discord bots Beginner Keep your Discord bot token safe: .env, .gitignore and what to do if it leaks The bot token is its password. Whoever has the token controls the bot. Learn how to move the token out of your code with a .env file, keep it off GitHub and what to do when it leaks. 8 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-token-environment-variables) [VPS Intermediate How to create a systemd service on Linux to run any app A systemd service starts your app with the server, restarts it when it crashes and keeps its logs. See the full .service file, the daily commands and the errors that trip up most first timers. 9 min Read guide](https://streethosting.com.br/en/guides/vps/create-systemd-service-linux) [VPS Beginner Host a React and Vite static site on a VPS with Nginx A Vite site turns into a folder of files, and Nginx serves that folder very well. Here is the build, the server block with try\_files for routes, the right cache for each file, HTTPS and an automatic deploy. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-react-vite-static-site-nginx) [VPS Intermediate How to set up CI/CD on a VPS with automatic deploys CI/CD does not require Kubernetes or an expensive tool. With a pipeline, a releases folder and a health check, an ordinary VPS ships every version safely and rolls back in seconds when something breaks. 10 min Read guide](https://streethosting.com.br/en/guides/vps/set-up-ci-cd-on-vps) [VPS Intermediate GitHub Actions deploy to VPS: step-by-step pipeline Every push to the main branch can build, upload and restart your application on the VPS without anyone opening a terminal. Here is how to set up that flow with a non-root deploy user, well-guarded secrets and protection against simultaneous deploys. 10 min Read guide](https://streethosting.com.br/en/guides/vps/github-actions-deploy-to-vps) [VPS Intermediate How to choose a VPS for an API: CPU, RAM and connections A Node.js API, a Python API and a Java API with the same traffic call for different VPS plans. See how the runtime, concurrent connections and the database define CPU and RAM, how to measure before you buy and how to grow later. 10 min Read guide](https://streethosting.com.br/en/guides/vps/choose-vps-for-api) [VPS Beginner VPS for WordPress: how to pick RAM, CPU and disk Sizing a VPS for WordPress means adding up the memory of PHP, the database and the system, working out how many pages miss the cache and leaving room for uploads to grow. Here is the math and a table of visits per plan. 10 min Read guide](https://streethosting.com.br/en/guides/vps/choose-vps-for-wordpress) [VPS Intermediate How to deploy FastAPI on a VPS with Gunicorn and Nginx A production-ready FastAPI API on an Ubuntu 24.04 VPS: Python in a virtual environment, Gunicorn managing Uvicorn workers through the current package, a systemd service with zero-downtime reload, Nginx with HTTPS, and how to size the workers. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-fastapi-on-vps) [VPS Intermediate How to host Laravel on a VPS with Nginx, PHP 8.3 and MariaDB From a blank server to Laravel answering over HTTPS: Ubuntu 24.04's PHP 8.3 FPM, Composer, MariaDB, storage and bootstrap/cache permissions, Nginx in the official layout, queues with systemd and a deploy script. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-laravel-on-vps) [VPS Intermediate How to host Next.js on a VPS with PM2, Nginx and HTTPS Next.js runs in full on a VPS with Node, including server rendering, ISR and Server Actions. Learn how to build it, keep the process alive with PM2, put Nginx in front and update without breaking the site. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-nextjs-on-vps) [VPS Intermediate How to host Spring Boot on a VPS with systemd and Nginx A Spring Boot application becomes a production service with a few pieces: the system Java, a dedicated user, a systemd unit and Nginx in front. See each step and how to size the JVM memory so the system does not kill the process. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-spring-boot-on-vps) [VPS Intermediate Host WordPress on a VPS: Nginx, PHP 8.3 and MariaDB Installing WordPress by hand, with no control panel, gives you full control over performance and security. The path is short: Nginx, PHP FPM and MariaDB on Ubuntu 24.04, a dedicated database, HTTPS and two layers of cache. 9 min Read guide](https://streethosting.com.br/en/guides/vps/host-wordpress-on-vps-nginx) [VPS Intermediate How to install Coolify on a VPS and deploy with HTTPS Coolify turns an empty VPS into a deploy platform with builds, a proxy, certificates and rollback. Here is the install, the firewall details Docker forces on you and the path from repository to a domain with HTTPS. 9 min Read guide](https://streethosting.com.br/en/guides/vps/install-coolify-on-vps) [VPS Intermediate Install Grafana and Prometheus on a VPS with node\_exporter node\_exporter publishes the machine's numbers, Prometheus scrapes them and keeps the history, and Grafana turns it all into graphs. Here is how to build the stack on Ubuntu 24.04 without leaving sensitive ports open to the internet. 10 min Read guide](https://streethosting.com.br/en/guides/vps/install-grafana-prometheus-vps) [Discord bots Beginner Discord bot hosting: bot plan or root VPS? You think you need a VPS, but a bot plan may already cover it and save you hours of administration. This guide separates the two paths by what each one really delivers. 8 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-vs-vps) [Minecraft Intermediate How to read a Minecraft server crash report The server went down and left behind a huge file full of text. This guide shows where to look, how to separate the noise from the real cause and what to do with each type of error. 10 min Read guide](https://streethosting.com.br/en/guides/minecraft/read-minecraft-crash-report) [Discord bots Intermediate How to schedule automatic Discord messages with a bot Scheduled messages are great for event announcements, voting reminders and recurring notices. See how to implement them with node-schedule in a Node.js bot, plus scheduling best practices. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-schedule-messages) [Discord bots Beginner How to set up an automatic welcome message on Discord with a bot A welcome message sets the first impression of your server. See how to set it up with your own Node.js bot or with ready-made bots, and what to include to keep new members around. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-welcome-message-bot) [VPS Intermediate How to install and configure Redis on an Ubuntu VPS Redis is an in-memory database used as a cache, a queue and a session store. Learn how to install it on Ubuntu, protect it with a password or ACL, cap its RAM with the right eviction policy, choose between RDB and AOF, and connect your application. 10 min Read guide](https://streethosting.com.br/en/guides/vps/install-redis-ubuntu-vps) [VPS Intermediate How to install Python and pip on an Ubuntu VPS Python ships with Ubuntu, but not always in the right version for your project. Learn how to install the version you need with pyenv, create virtual environments and manage packages with pip without breaking the system. 3 min Read guide](https://streethosting.com.br/en/guides/vps/install-python-pip-ubuntu-vps) [Discord bots Advanced Discord bot sharding: scaling a bot to many servers Past a certain size, a single process cannot handle all your guilds. Sharding splits the load into pieces. Here is when it is mandatory and how to plan the infrastructure. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-sharding) [Discord bots Advanced How to host a Go Discord bot in production Go gives you a single binary, low memory use and built-in concurrency. Here is how to compile it, deploy it to your VPS and keep a Go Discord bot running under systemd in production. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/host-golang-discord-bot) [Discord bots Intermediate How to migrate a Discord bot from Replit to a VPS Free hosts put apps to sleep and cap resources, which takes bots offline. Here is how to move your code to a VPS, carry your secrets over safely and keep the bot truly online. 3 min Read guide](https://streethosting.com.br/en/guides/discord-bots/migrate-discord-bot-from-replit-to-vps)

Show 17 more of 17

## Other topics

[See all 25 topics](https://streethosting.com.br/en/guides/topics)

[Linux administration78](https://streethosting.com.br/en/guides/topics/linux) [Hardware and datacenter68](https://streethosting.com.br/en/guides/topics/hardware) [Network, DNS and domains54](https://streethosting.com.br/en/guides/topics/networking) [Costs, plans and billing45](https://streethosting.com.br/en/guides/topics/costs) [Security and hardening39](https://streethosting.com.br/en/guides/topics/security) [Minecraft plugins38](https://streethosting.com.br/en/guides/topics/plugins) [Community and game modes37](https://streethosting.com.br/en/guides/topics/community) [Getting started32](https://streethosting.com.br/en/guides/topics/getting-started) [Automation and webhooks31](https://streethosting.com.br/en/guides/topics/automation) [Latency and ping31](https://streethosting.com.br/en/guides/topics/latency) [Monitoring and alerts28](https://streethosting.com.br/en/guides/topics/monitoring) [Other games26](https://streethosting.com.br/en/guides/topics/other-games) [Performance and optimization22](https://streethosting.com.br/en/guides/topics/performance) [Errors and diagnostics21](https://streethosting.com.br/en/guides/topics/troubleshooting)

[← All topics](https://streethosting.com.br/en/guides/topics)
