Skip to content

Instantly share code, notes, and snippets.

View crocofied's full-sized avatar

Damian crocofied

  • Berlin, Germany
  • 15:22 (UTC +01:00)
View GitHub Profile
@bradtraversy
bradtraversy / mern-server-setup.md
Last active October 30, 2025 15:36
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@trenutoo
trenutoo / migrate-pterodactyl.md
Last active November 1, 2025 00:05
Pterodactyl panel and wings migration

Pterodactyl Migration

Migrating panel

  1. Backup your hidden .env file containing the decryption APP_KEY from /var/www/pterodactyl

  1. Export the database, in this case ours is named panel