- Install Nix Package Manager:
# Linux/macOS
sh <(curl -L https://nixos.org/nix/install) --daemon
# After installation, restart your terminal- Download or clone this repository
- Enter the project directory
- Start the development environment:
nix-shellThis will automatically:
- Install all required dependencies (Node.js, Deno, etc.)
- Start both the client and server in split panes
- Set up your development environment
The development environment runs two servers side by side:
- web-client (left pane): React frontend running on
npm - server (right pane): Deno backend
When the development environment starts, you'll be in a tmux session. Some basic commands:
- Switch between panes:
Ctrl + bthen arrow keys - Exit:
Ctrl + bthend(detach) or typeexitin both panes
If you need to start the servers separately:
# Frontend (in web-client directory)
npm run dev
# Backend (in server directory)
deno task startIf tmux fails to start:
- Exit the nix-shell (
exitor Ctrl+D) - Re-enter:
nix-shell