You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just some random thoughts ... but it might be cool if there was an environs-cli that could generate an empty .env file so you could easily the settings you need to set when creating a new project. Maybe the output could be something like the following. Inspiration comes from, https://github.com/lincolnloop/goodconf.
DEBUG=off # Default (bool)
INTERNAL_IPS=127.0.0.1,172.18.0.1,localhost,0.0.0.0 # Default (list)
ALLOWED_HOSTS=127.0.0.1 # Default (list)
DOMAIN='127.0.0.1:8000' # Default (string)
EMAIL_HOST=smtp.mailtrap.io # Dault (string)
EMAIL_HOST_USER= # No Default (string)
EMAIL_HOST_PASSWORD= # No Default (string)
EMAIL_PORT=25 # Default (string)
SECRET_KEY='' # No Default (string)
DATABASE_URL='' # No Default (string)
AWS_ACCESS_KEY_ID='' # No Default (string)
AWS_SECRET_ACCESS_KEY='' # No Default (string)
BITLY_ACCESS_TOKEN='' # No Default (string)
SENTRY_DSN='' # No Default (url)
The text was updated successfully, but these errors were encountered:
Interesting idea. A CLI is beyond the scope of what I want environs to be, but I think it'd be neat as a separate package. If you end up making this, post it here and I can link to it in the docs.
Just some random thoughts ... but it might be cool if there was an environs-cli that could generate an empty .env file so you could easily the settings you need to set when creating a new project. Maybe the output could be something like the following. Inspiration comes from, https://github.com/lincolnloop/goodconf.
The text was updated successfully, but these errors were encountered: