- Get frontend going:
pnpm run dev
- In another terminal tab in this
sm-games-fe
directory, start the postgres server:docker compose up
- In yet another terminal tab, run the backend (for websockets):
a.
cd ../sm-games-be
b.pnpm run dev
While the database is running, in another terminal tab:
- Run
docker exec -it sm-games-fe-postgres-1 /bin/bash
- Run
psql -U postgres
- Connect to the database:
\c smgames