Mammoth
October 9, 2024 ยท View on GitHub
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
- Clone this repository.
git clone https://github.com/wizguin/mammoth
- Install node dependencies.
cd ./mammoth
npm install
- Copy .env.example to .env and update DATABASE_URL.
DATABASE_URL=mysql://username:password@localhost:3306/mammoth
- 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.