- Edit
getcert.sh
and provide values for the following environment variables:DOMAIN
andEMAIL
. These will be used to issue a Let's Encrypt certificate. - Run
sudo bash getcert.sh
. Note that for this process to work, your domain must point to the machine where you are running the server.
- Edit
deploy.sh
and provide values forDOMAIN
(the domain you got a certificate for),KEYSTORE_PASS
(a password for the keystore containing SSL certificate information), andOPENAI_API_KEY
(the OpenAI secret key). - Provide a "firebase_credentials.json" file. You should be able to find this on the Firebase admin console.
- Run
sudo bash deploy.sh
- Congratulations!