- matrix: docker.io/matrixdotorg/synapse:latest
- db: docker.io/postgres:12-alpine
- web client: vectorim/element-web
Matrix is deployed inside a docker alongside element web client and postgres DB. Mobile app is an empty Flutter app that imports FluffyChat that was adjusted to be a flutter module. FluffyChat also has a hardcoded default local homeserver.
- Clone this repo
cd p2p_chat_server
docker-compose up
cd ../p2p_chat_app
- (optional) run ./bootstrap-mac.sh (or for windows ./bootstrap-win.ps1)
- (optional) install Android Studio, SDK/NKD and Android 34 API
- Launch Android Emulator using Device Manager
- (optional) check the setup using
flutter doctor
flutter run
- Navigate to http://localhost:8080 to use WEB UI
- Register new user
- Lunch flatter app on emulator and login with user credential used during registration