Skip to content

About

Simple /r/place clone

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/r/place inspired real-time pixel placer

Requires redis for storing board data

Installation

npm install
npm run-script build

Configuration

  • Be sure that redis is running
  • Run nodejs utils/create-board <boardName> <numRows> to create a new empty board in redis under the key board:boardName. The board will be numRowsblocks wide and tall.
  • Modify src/server/config.js and put your newly created board name, the port you want to run websockets/http on, and any redis config options you need.
  • Modify src/client/main.js to specify the websockets port and how many pixels wide/tall you want a single block to display as.

Finally

  • Runnpm start
  • Load it in a browser
  • Click somewhere

About

Simple /r/place clone

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages