Skip to content

Teach myself Rot.js using a Docker container to serve it

Notifications You must be signed in to change notification settings

tmpjr/docker-rotjs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker / Webpack / Rot.js Demo

Just a small project to teach myself Rot. I decided to use webpack and docker to serve the app to make future deployments as well as sharing with others easier. I highly recommend reading up on Webpack, NPM and Docker before using this application.

Installation/Usage

  • Install Docker and Docker Compose
  • Install Node/NPM and Yarn
  • Install webpack: npm install -g webpack
  • You will have an easier time using multiple terminals and something like tmux so you can see multiple screens at the same time.
  • Clone this repository and CD into the app directory
  • RUN: yarn install to install all dependencies
  • CD into the root folder of repository
  • RUN: docker-compose up --build
  • CD back to the app/ directory
  • RUN: **webpack -d --watch --colors --progress
  • Load http://localhost:8888 in your browser and you should see the game screen.

About

Teach myself Rot.js using a Docker container to serve it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published