File storage. This project is focused on deploying on AWS.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Bootstrap libraries won't be added to the project. Run bash bin/download_vendor
to download vendor libs.
- Export
.env.template
with related environment variables python manage.py runserver
orbash entrypoint.sh
- aws ecr get-login-password --region [REGION] | docker login --username AWS --password-stdin [ECR_DOCKER_URI].[REGION].amazonaws.com/[ECR_REPOSITORY_NAME]
- docker tag [DOCKER_IMAGE]:latest [ECR_DOCKER_URI].[REGION].amazonaws.com/[ECR_REPOSITORY_NAME]
- docker push [ECR_DOCKER_URI].[REGION].amazonaws.com/[ECR_REPOSITORY_NAME]
- Instructions won't be provided
- Later terraform code will be included
GAE not supported after e7c71b8320f3470606fb7e747caa745851aa9dd6
commit.
Later GAE related code will be fully removed.
To run unit tests:
export DEBUG=True
python manage.py test
For migrations, add BF_ADMIN_USERNAME
and BF_ADMIN_PASSWORD
to virtual environment to create admin user.
For a webhook you need to configure stripe settings in a dashboard.
- Do a lot, break a lot
- There are no difficult tasks, only interesting
- Quality
- Security
- Google first
- "GIT history