Monitor services and execute scripts on your project-topaz Final Fantasy XI server.
- Download and install Node.js if not installed.
- Download and install MariaDB if not installed.
- Create ffxi_mointor_env database.
- Dev Example
CREATE DATABASE IF NOT EXISTS ffxi_mointor_dev;
- Create development.env and/or production.env based on
.env.example
. - Install with
npm i
- Run db migrations if not running in dev. (Dev will run migrations on start.)
- Powershell
$env:DB_NAME="db_name_here"; $env:DB_USER="user_here"; $env:DB_PASSWORD="password_here"; npx mikro-orm migration:list
- Bash
DB_NAME=db_name_here DB_USER=user_here DB_PASSWORD=password_here && npx mikro-orm migration:list
#watch for file changes
npm run watch
#in separate tab start the server
npm run dev
npm run build
npm run start