Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 553 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 553 Bytes

Pixels Against Humanity

An implementation of Cards Against Humanity in Node.js for online multiplayer.

Usage

  • Development
    • Create .env file with the VITE_SERVER_HOST environment variable for the WebSocket server, e.g. VITE_SERVER_HOST=ws://localhost:8081
    • Start the UI on an open port: PORT=8080 npm start
    • Start the WebSocket server on the port you picked earlier for the server: PORT=8081 npm run dev
  • Production
    • Build the UI and then start the server (which serves the built UI): npm run build && npm run server