https://docs.docker.com/desktop/
Client-side authentication is done using Firebase. The Firebase Console is available at (https://console.firebase.google.com/u/1/project/learnlab-ef56a/authentication/users). Login using the learnlabcanada account to view the console.
docker-compose up
If changes to engagement are not being registered, execute the following before running:
docker-compose build engagement
Note: Windows users will need to set the end of line sequence character to LF
This will start the following services:
-
Web http://localhost:3000 (It's best when developing in web, to run it locally as opposed to in the docker)
-
Server http://localhost:4000
-
RabbitMQ Management Portal http://localhost:15672/ (username: guest, password: guest)
-
PostgreSQL http://localhost:5432 (username:postgres, password: postgres)
Note: The database
learnlab_local
will automatically be created. In order to connect to the docker PostgreSQL, make sure to stop your local PostgreSQL service (check Services on Windows).- To connect to the docker database, you can use PGAdmin to create a new server with:
- Name: your choice
- Host name/address: localhost
- Port: 5432
- Username: postgres
- Password: postgres
- Alternatively, run
psql -U postgres -d learnlab_local
to access local db in a terminal
- To connect to the docker database, you can use PGAdmin to create a new server with: