@nanorepublica@indiehackers.social
Post #3683029
2026-05-07 14:32 UTC
@ehmatthes@fosstodon.org no I'm aiming for a single command of
$ manage.py server web
Then in settings.py you would configure the different backends, so:
```
if DEBUG:
PROCESSES={'web': 'path.dev.backend'}
else:
PROCESSES={'web': 'path.prod.backend'}
```
or not having the conditional and having 2 different keys for dev & prod:
```
PROCESSES={
'dev': 'path.dev.backend',
'web': 'path.prod.backend'
}
```
Part of me putting out the post is to gather opinions about this direction.
Replies (0)
No replies.