Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Different settings for development and production #4

Open
samuel-iseli opened this issue Feb 16, 2021 · 0 comments · Fixed by #5
Open

Different settings for development and production #4

samuel-iseli opened this issue Feb 16, 2021 · 0 comments · Fixed by #5

Comments

@samuel-iseli
Copy link
Collaborator

I would like to have different settings for development and production.
We shoud have a basic settings file and variants for production, development and staging.

  • put settings in a package (folder)
  • have sub modules base, develop, production
  • manage.py defaults to develop
  • wsgi and asgi default to production
  • the heroku proc script uses production to prepare db etc.

For development and unit tests it seems much easier for me to user sqlite database. Don't know how to use autogenerated test-db with postgres.
Unfortunately the current model doesn't support sqlite. Will add another issue for that..

@samuel-iseli samuel-iseli changed the title Settings and DB Different settings for development and production Feb 16, 2021
@samuel-iseli samuel-iseli linked a pull request Feb 20, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant