Managing your local server - bym-refitted/backyard-monsters-refitted GitHub Wiki

Updating Local Server from Main GitHub Repository

To start make sure you are in the your server directory:

cd server

⚡ To keep your local server up-to-date and in-sync with the main GitHub repository, run the following command:

git stash && git pull && bun install && bun migration:up

This will:

  1. 📦 Stash any local changes you've made
  2. 📦 Pull the latest changes from the main repository
  3. 📦 Install dependencies that may be available
  4. 📦 Run database migrations to update your database schema