- 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-shell
This 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 + b
then arrow keys - Exit:
Ctrl + b
thend
(detach) or typeexit
in both panes
If you need to start the servers separately:
# Frontend (in web-client directory)
npm run dev
# Backend (in server directory)
deno task start
If tmux fails to start:
- Exit the nix-shell (
exit
or Ctrl+D) - Re-enter:
nix-shell