Skip to content

Latest commit

 

History

History
executable file
·
47 lines (35 loc) · 682 Bytes

README.md

File metadata and controls

executable file
·
47 lines (35 loc) · 682 Bytes

Batalla

A battleship game built with React and Socketio.

Demo

Batalla

Setup

  1. Install node modules.
  $ npm install
  1. Install Bower components.
  $ bower install
  1. Run Gulp to compile HTML and CSS.
  $ gulp
  1. Run the server.
  $ npm start
  1. Run Webpack (in new tab).
  $ npm run webpack

Production

  1. Replace JS source in HTML to minified version.

  2. Compile HTML and CSS.

  $ gulp build
  1. Compile JavaScript with Webpack.
  $ npm run build