pull/1/head
Rui Carmo 2016-03-28 23:55:02 +01:00
rodzic a79e59ea96
commit 08221387fe
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ From the bottom up:
- [ ] Support Go deployments
- [ ] Support barebones binary deployments
- [ ] CLI command documentation
- [ ] Installation instructions
- [ ] Complete installation instructions
- [ ] Sample apps
- [ ] Worker scaling
- [ ] Port selection (and per-app environment variables)
@ -59,7 +59,7 @@ I intend to support Python, Go, Node and Java, but will be focusing on Python fi
**Q:** Why not just use `dokku`?
**A:** I use `dokku` daily, and for most of my personal stuff. But the `dokku` stack relies on a number of `x64` containers that need to be completely rebuilt for ARM, and when I decided I needed something like this (March 2016) that was barely possible - `docker` itself is not fully baked for ARM yet, and people are still trying to get `herokuish` and `buildstep` to build on ARM...)
**A:** I use `dokku` daily, and for most of my personal stuff. But the `dokku` stack relies on a number of `x64` containers that need to be completely rebuilt for ARM, and when I decided I needed something like this (March 2016) that was barely possible - `docker` itself is not fully baked for ARM yet, and people are still trying to get `herokuish` and `buildstep` to build on ARM.
[pi]: http://www.raspberrypi.org
[dokku]: https://github.com/dokku/dokku

Wyświetl plik

@ -79,7 +79,7 @@ def deploy_python(app):
echo("-----> Running pip for '%s'" % app, fg='green')
activation_script = join(env_path,'bin','activate_this.py')
execfile(activation_script, dict(__file__=activation_script))
call('pip install -r %s' % join(APP_ROOT, app, 'requirements.txt'), cwd=ENV_ROOT, shell=True)
call('pip install -r %s' % join(APP_ROOT, app, 'requirements.txt'), cwd=env_path, shell=True)
# Generate a uWSGI vassal config
# TODO: check for worker processes and scaling
@ -93,7 +93,7 @@ def deploy_python(app):
'master': 'false',
'project': app,
'max-requests': '1000',
'module': '%%(project).app:app', # let's assume for the moment that this is our entry point
'module': '%%(project).app:app', # TODO: override this via Procfile
'processes': '2',
'env': 'WSGI_PORT=http', # TODO: multiple environment settings
'logto': "%s.web.1.log" % join(LOG_ROOT, app)