ShallowRed / mnio

a multiplayer coloring game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MNIO

MNIO is a real-time multiplayer drawing canvas on the web.

Development

1. Install dev dependencies

npm run install

2. Bundle client in dev mode & start developpement server

  • A MySql / mariadb database connection is required
  • You can provide db credentials as environment variables
npm run dev

Production

  • Requires Node.js 14+ running on your server
  • A MySql / mariadb database connection is required
  • You can provide db credentials as environment variables

1. Bundle client

npm run build

2. Upload the following files to your server

  • package.json
  • package-lock.json
  • dist/
  • lib/
  • shared/
  • views/

3. Install dependencies on production server

npm run install

Eventually install pm2 globally if planning to run app with it (recommended)

npm install pm2 -g

Start application

npm run start

or with pm2 (recommended)

pm2 start ecosystem.config.js

License

MIT

About

a multiplayer coloring game


Languages

Language:JavaScript 79.5%Language:SCSS 13.6%Language:EJS 6.8%Language:Dockerfile 0.1%