@nathanfriend/roggle

1.0.3 • Public • Published

Roggle

A multiplayer Boggle clone, built with React and TypeScript. nathanfriend.io/roggle

View the source on GitLab.

Developing

  1. Clone this repository
  2. Run npm install
  3. Start a local WebSocket server using npm run server
  4. In another terminal window/tab, start a local HTTP server at the root of this project. For example:
    • Install http-server globally: npm install --global http-server
    • Run http-server at the root of this project
  5. In another terminal window/tab, build the web app using npm run build
  6. View the web app in the browser

Publishing

To publish a new version of Roggle, bump the version in package.json, publish to NPM (@nathanfriend/roggle), and run a new pipeline in the website-3.0-docker project.

Note to self

In order to run the node websocket server on the same server as Apache, add this to /etc/apache2/apache2.conf:

# pipes websocket traffic for roggle to node
ProxyPass "ws://nathanfriend.io:18734/roggle/server" ws://localhost:18734/
ProxyPassReverse "ws://nathanfriend.io:18734/roggle/server" ws://localhost:18734/

Update

The live version of Roggle is no longer hosted behind Apache; leaving the info above for historical purposes.

Readme

Keywords

none

Package Sidebar

Install

npm i @nathanfriend/roggle

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

1.18 MB

Total Files

32

Last publish

Collaborators

  • nathanfriend