Skip to content

dpca/play-gb-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate


Play GB Server

Server for the Play GB Client. Lives in the cloud, or locally if you prefer.

Installation

You'll need to install redis, and cairo for node-canvas. Then it's just:

$ npm install

You'll also need to set some environment variables:

  • ROM_FILE - Location of the Gameboy rom to play
  • PORT - Port to serve websockets from, defaults to 8090
  • REDIS_URL - Redis URL, defaults to localhost
  • REDIS_PORT - Redis port, defaults to 6379

Development

Uses babel for es2015, but no live reloading... To start the dev server, run:

$ npm run dev

Deploy

To bundle everything up, run:

$ npm run build

and serve with:

$ npm run server

Consider using something like pm2 to run in production.

About

Server for play-gb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published