- Access to the Keybase team
epfl_actu. - Access to the three different OpenShift environments (dev | test | prod)
Clone the repository:
git clone git@github.com:epfl-si/actu.gitOptionally, for better integration with IDEs:
make helpmake local-up # local Django development server (automatic reloads)Lint code, unit tests and integration tests
make testCoverage
make coverage # text report
# or
make coverage-html # html reportmake local-clone # Clones production database into the local environment.
# or
make dev-clone # Clones production database to the dev environment.
# or
make staging-clone # Clones production database to the staging environment.- Update the CHANGELOG.md.
- Bump
app_image_tagto the new version in all three Ansible inventory files:ansible/inventory/dev.ymlansible/inventory/test.ymlansible/inventory/prod.yml
- Push and merge to
mainbranch. - Create and push a new tag:
git tag -a <version_number> -m "Actu - <version_number>"
git push origin main --tags - Wait for the new image to be built.
Run the actusible script with an environment :
./ansible/actusible [ --dev | --test | --prod ]