2024-03-24 03:00:46 +03:00
|
|
|
### Mancala
|
|
|
|
|
|
|
|
|
|
Mancala is an open source application for playing mancala game online.
|
2026-10-14 02:09:05 +03:00
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
|
|
The apps use the local `packages/mancala.js` and `packages/core` through `link:` dependencies, so build those first:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
yarn build:packages # from the repo root
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
After changing a package, rebuild it (or run `yarn dev` in it to rebuild on change); the apps pick up the new `dist`.
|
|
|
|
|
|
|
|
|
|
Docker images for the backend and frontend are built from the repo root:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
docker build -f apps/backend/Dockerfile -t jhalitaksoy/mancala-backend .
|
|
|
|
|
docker build -f apps/frontend/Dockerfile -t jhalitaksoy/mancala-frontend .
|
|
|
|
|
```
|