/mammoth

Pre-CPIP server emulator

Primary LanguageTypeScriptMIT LicenseMIT

Mammoth

Pre-CPIP server emulator.

Docker Installation

Recommended setup for production usage.

https://github.com/wizguin/mammoth-docker

Local Installation

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites

  • git
  • Node >= 20.6.0
  • MySQL
  • Redis

Installation

  1. Clone this repository.
git clone https://github.com/wizguin/mammoth
  1. Install node dependencies.
cd ./mammoth
npm install
  1. Copy .env.example to .env and update DATABASE_URL.
DATABASE_URL=mysql://username:password@localhost:3306/mammoth
  1. Apply database migrations.
npx prisma migrate dev

Usage

  • Running packages in dev mode.
npm run dev
  • Building packages.
npm run build
  • Starting packages.
npm run start
  • Eslint.
npm run eslint
npm run eslint:fix

Disclaimer

This project is intended for personal use only.