kopia lustrzana https://github.com/piku/piku
Minimal working nginx support
rodzic
54cfe0cd49
commit
16642e1117
|
@ -18,7 +18,7 @@ From the bottom up:
|
|||
- [ ] Sample Go app
|
||||
- [ ] Support Go deployments
|
||||
- [ ] CLI command documentation
|
||||
- [ ] nginx support
|
||||
- [x] nginx support - creates an nginx config file if `SERVER_NAME` is defined
|
||||
- [x] Testing with pre-packaged [uWSGI][uwsgi] versions on Debian Jessie (yes, it was painful)
|
||||
- [x] Support barebones binary deployments
|
||||
- [x] Complete installation instructions (see `INSTALL.md`, which also has a draft of Go installation steps)
|
||||
|
|
|
@ -24,5 +24,5 @@ server {
|
|||
# as directory, then fall back to displaying a 404.
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
include /home/piku/.piku/nginx/*.conf;
|
||||
}
|
||||
include /home/piku/.piku/nginx/*.conf;
|
||||
|
|
2
piku.py
2
piku.py
|
@ -172,7 +172,7 @@ def do_deploy(app, deltas={}):
|
|||
if exists(join(app_path, 'requirements.txt')):
|
||||
echo("-----> Python app detected.", fg='green')
|
||||
deploy_python(app, deltas)
|
||||
if exists(join(app_path, 'Godeps')) or len(glob(join(app_path,'*.go'))):
|
||||
elif exists(join(app_path, 'Godeps')) or len(glob(join(app_path,'*.go'))):
|
||||
echo("-----> Go app detected.", fg='green')
|
||||
deploy_go(app, deltas)
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue