Skip to content

ShallowRed/mnio

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published