Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.14 KB

yaniv CI Production build

A WIP implementation of the Yaniv card game as a REST API with Server-sent events push and a Preact frontend.

Try it out on maxfrie.uber.space! (automatically deployed from the master branch using the "production build" action)

Development mode

  • Run the backend on localhost:9000:

    sbt run
  • Run the frontend on localhost:8080:

    cd frontend
    npm run dev

This will auto-reload on file changes.

Production build

  • Build the frontend into public/frontend:

    cd frontend
    npm run build
  • Make a build of the Play app that will serve the frontend:

    sbt dist