Serverless backend for the website
You need to build the docker image if you don't want to use the default
- check the registry tab in the project on GitLab for instructions
Requires environmental variables from IAM user created for deployments:
- AWS_ACCESS_KEY_ID with the new user’s access key
- AWS_SECRET_ACCESS_KEY with the new user’s access secret key
- BASE_DOMAIN with the domain registered in AWS hosted zones
- Disable committing to master and only allow changes by merging via branches
Install
yarn installRun linting and auto correct errors
yarn lintInstall
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
pip3 install -r dev-requirements.txtLint (Tests currently not included in ci build)
pylint src
pylint tests
pylint e2eRun unit tests
pytest testsRun End to End tests
pytest e2eDocker image with python, nodesjs and serverless is required.