-
Pre-requisites
- Obtain an AWS account for AICS. Please contact the IT team or the code owner.
- Generate an
aws_access_key_idandaws_secret_access_keyin your AWS account.
-
Step-by-step Guide
- Download and install the AWS CLI
- Configure AWS CLI by running
aws configure, then enter your credentials as prompted. - Ensure that Boto3, the AWS SDK for Python is installed and included in the requirements section of
setup.py.
- Step-by-step Guide
- For dev database:
- Create a Firebase project in test mode with your google account, select
firebase_adminas the SDK. Firebase Firestore tutorial - Generate a new private key by navigating to "Project settings">"Service account" in the project's dashboard.
- Create a Firebase project in test mode with your google account, select
- For staging database:
- Obtain credentials:
- Reach out to the code owner for the necessary credentials.
- Configure the environment variables:
- Create a
.envfile in the root directory. - Populate the
.envfile with the following variables:
note:FIREBASE_TOKEN=KEY_JSON_FILE["private_key"] FIREBASE_EMAIL=KEY_JSON_FILE["client_email"]KEY_JSON_FILEis the content of the private key JSON file generated in the staging Firebase. - Create a
- Obtain credentials:
- For dev database: