- Flutter
- Django REST API
- Edit
enter_password_screen.html
andconstants.dart
URL from production to localhost docker-compose -f local.yml up
- Android studio browse
./frontend
directory and run
- Replace production url in
traefik.yml
cd frontend
andflutter build web
docker-compose -f production build
docker-compose -f production up -d
Set this schedule will appear in crontab at admin page.
CELERY_BEAT_SCHEDULE = {
# Execute every 60 seconds. Expire in 15 seconds if failed to start.
'remove-instance': {
'task': 'config.celery_app.delete_outdated_files',
'schedule': 60.0,
'options': {
'expires': 15.0
}
}
}
- Delete URL need login since it must be able to identify the owner. Then designed use case is login first and then delete.
- I decided to use
Traefik
to secure communication. - I use Django REST in order to scale from web, iOS, and Android.
- In production it runs
gunicorn
to serve multiple request at a time.