Your first deployment shouldn't be so hard!

Your first deployment shouldn't be so hard!

This is an overview of django-simple-deploy, which automatically configures your Django project for deployment to the platform of your choice. It can also automate the entire deployment process.

Eric Matthes

October 19, 2022

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

60 slides
  1. !FINBUUIFT &YBNQMF"VUPNBUFEEFQMPZNFOUUPGMZJP $ pip install django-simple-deplo y # Add simple_deploy

    to INSTALLED_APPS . $ manage.py simple_deploy --platform fly_io --automate-all 5IBUTJU
  2. !FINBUUIFT 4VNNBSZVTJOH--automate-all $ pip install django-simple-deplo y # Add simple_deploy

    to INSTALLED_APPS . $ python manage.py simple_deploy --platform fly_io --automate-all
  3. !FINBUUIFT 4VNNBSZDPOGJHVSBUJPOPOMZVTBHF SFDPNNFOEFE $ pip install django-simple-deplo y # Add

    simple_deploy to INSTALLED_APPS . $ fly apps create --generate-nam e $ python manage.py simple_deploy --platform fly_i o $ git status # (Recommended review step ) $ git add . $ git commit -m "Configured for deployment to Fly.io. " $ fly deplo y $ fly open
  4. !FINBUUIFT $VSSFOU"1* manage.py simple_deplo y --platform [fly_io|platform_sh|heroku] # require d

    --deployed-project-name [project_name] # optiona l --region [region_name] # optiona l --automate-al l --no-loggin g --ignore-unclean-git

More Decks by Eric Matthes

Other Decks in Technology