- Edit
getcert.shand provide values for the following environment variables:DOMAINandEMAIL. 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.shand 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!