Skip to content

Instantly share code, notes, and snippets.

View crocofied's full-sized avatar

headlessdev crocofied

View GitHub Profile
@bradtraversy
bradtraversy / mern-server-setup.md
Last active November 3, 2024 03:04
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 October 17, 2024 23:21
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