python -m venv .nist-py-env
.nist-py-env\Scripts\activate.bat
source .nist-py-env/bin/activate
pip install -r requirements.txt
python app.py
python app.py test
This method requires you to set up a local credential file for AWS if you want to create the actual proposals in AWS.
Set up requires the blossom repository is similar to:
python3 /Code/blossom/util/aws_saml_auth.py
cat ~/.aws/credentials
export AWS_PROFILE='saml'
aws --profile saml sts get-caller-identity
docker-compose -f docker-compose-local.yml up
or with any development services/features:
docker-compose -f docker-compose-local.yml --profile=development up
This method will request a token when the proposal is being created. This is configured using the .env referenced in docker-compose.yaml. The format is shown in sample.env. The default location is ~/.env.
docker-compose up -d