I prepared this a bit further, this is what I have. The task doesn't yet work properly but I now have understanding on how it should work.
Node:
# Find out more about nodes: http://docs.devo.ps/manual/nodes
id: djangonode
name: djangonode
type: server
# Find out more about providers and their defaults
# in their respective documentations
provider:
name: digitalocean
size: 66
location: 6
image: 6918990
# vars:
services:
mysql: "*"
uwsgi: "*"
configuration:
mysql:
users:
- name: dj
databases:
- name: djdb
users:
- dj
also remove the debug_toolbar reference (it doesn't seem to work) from the local.py and settings.py
I didn't get emperor working yet with ini files, but I can run the uwsgi successfully manually: uwsgi --http 0.0.0.0:9090 --wsgi-file wsgihandler.py (good for testing)
We'll also have to get it working with mysql (have to modify the local.py)
@zbal Probably best if we crunch this working together, it's pretty close already.
I prepared this a bit further, this is what I have. The task doesn't yet work properly but I now have understanding on how it should work.
Node:
Task:
What needs changing / fixing:
projectname/settings/local.teplate.py
toprojectname/settings/local.py
and modify database section to:uwsgi --http 0.0.0.0:9090 --wsgi-file wsgihandler.py
(good for testing)@zbal Probably best if we crunch this working together, it's pretty close already.