office-14 / Drinks

MIT License
1 stars 2 forks source link

Build Status Built by engineers

Drinks

How to deploy dev environment locally?

First, you need to install Docker and run it.

To start components locally use the following command (from inside the folder containing docker-compose.yml file):

$ docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build

If everything's fine, you should be able to visit:

If you want to start only one of the components (Web API or anything) then use the following command:

$ docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build webapi

How to enable Firebase Cloud Messaging in web-api?

To enable Firebase Cloud Messsaging in web-api, you need to provide Google Service Account credentials.

To authenticate a service account and authorize it to access Firebase services, you must generate a private key file in JSON format.

To generate a private key file for your service account:

BE CAREFUL! Don't put this file under source control because it contains very sensitive credentials!