To run:
Start a Postgres instance with Docker, mapping localhost:5000 to 5432 on container
docker run --name some-postgres -e POSTGRES_PASSWORD=password -d -p 5000:5432 postgres
In server directory, start venv (optional), install pip requirements, then run server:
pip install -r requirements.txt
python chat-app-server.py
In client directory install requirements with:
yarn install
For gRPC to work with Electron, you might need to rebuild (this step may take a while):
./node_modules/.bin/electron-rebuild
Then run:
yarn expo-electron start