Skip to content

brandonchinn178/categories-with-friends

Repository files navigation

Categories With Friends

A web project running a multiplayer game that's definitely not Scattergories.

Quickstart

  1. Install language tools.

    1. Install Dart

      brew tap dart-lang/dart
      brew install dart
    2. Install webdev

    3. Install stack

  2. Build and run the backend in one tab

    1. stack build
    2. stack exec categories-with-friends
  3. Build and run the frontend in another tab

    1. cd client
    2. scripts/compile_html.sh
    3. pub get
    4. webdev serve
  4. Go to http://localhost:8080

Development

Lint Haskell

  1. stack build stylish-haskell hlint
  2. scripts/run-hlint.sh
  3. scripts/run-stylish-haskell.sh

Add pre-commit git hooks

  1. Install pre-commit
  2. pre-commit install