Docker, Docker Compose and Make are required to install the project.
To create .env files run the command:
make env
To start the project:
make start
To install all needed dependencies:
make install
At first you need to run the server:
make server-start
Then you may run the application:
make app-dev
To stop the project:
make stop
To connect to the application using sh:
make app-ssh
To connect to the server using sh:
make server-ssh
- Get ip-address of your machine
- Update the
VITE_SERVER_DOMAIN
variable with the ip-address in theapp/.env
file - Update the
DOMAIN
variable with the ip-address in theserver/.env
file - Run the server and the application to pull changes from the
.env
- Expose ports (
3000
and3001
) from your machine - Connect all needed devices to the same network (e.g. you home Wi-Fi network)
- Create a new session on laptop and scan QR-codes using your phones
- Have fun!
- Run
PowerShell
as Administrator - Run this command to expose WSL2 to the local network
netsh interface portproxy add v4tov4 listenport=3001 listenaddress=0.0.0.0 connectport=3001 connectaddress=$($(wsl hostname -I).Trim());
- Setup Firewall:
- Network and Sharing Centre
- Windows Defender Firewall
- Advanced settings
- Inbound Rules
- New Rule
- Port
- TCP
- Specific local ports: 3000-3001
- Allow the connection
- Domain/Private/Public
- WSL2 3000-3001