Skip to content

Instantly share code, notes, and snippets.

Avatar

Scheck pythdasch

  • Brussels
View GitHub Profile
View dokku nginx
MBP-de-david:admeet-front davidscheck (staging_deploy)$ git push dokku staging_deploy:master
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 16 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 896 bytes | 896.00 KiB/s, done.
Total 6 (delta 3), reused 0 (delta 0)
-----> Cleaning up...
-----> Building frontend from herokuish...
-----> Adding BUILD_ENV to build environment...
View stacktrace
root@thumbor:~# dokku ps:rebuild thumbor
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
View ls la
total 76K
drwxr-xr-x 7 dokku dokku 4.0K Jun 2 11:05 .
drwxr-xr-x 6 dokku dokku 4.0K Jun 2 09:21 ..
drwxrwxr-x 2 dokku dokku 4.0K Jun 2 09:27 branches
-rw-rw-r-- 1 dokku dokku 0 Jun 2 09:27 .build.lock
-rw-rw-r-- 1 dokku dokku 66 Jun 2 09:27 config
-rw-rw-r-- 1 dokku dokku 65 Jun 2 11:05 CONTAINER.web.1
-rw-rw-r-- 1 dokku dokku 73 Jun 2 09:27 description
-rw-rw-r-- 1 dokku dokku 186 Jun 2 11:05 DOCKERFILE_ENV_FILE
-rw-rw-r-- 1 dokku dokku 6 Jun 2 09:30 DOKKU_SCALE
View gist:3133b977c1757b6af0ea
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<p class="box">Other content.</p>
<script src="js/less.js" type="text/javascript" charset="utf-8" async defer></script>
</body>
View gist:790ef8b56a0ade586087
server {
listen 8001;
server_name localhost;
root /Users/david/Sites/n1/v1/n1ght/n1ght/static;
#charset koi8-r;
#access_log logs/host.access.log main;
location /static/ {
try_files $uri $uri/=494;
}
View gist:fa750c9e9e1dafc89b48
server {
listen 8001;
server_name localhost;
root /Users/david/Sites/n1/v1/n1ght/n1ght/static;
#charset koi8-r;
#access_log logs/host.access.log main;
location /static/ {
try_files $uri $uri/=494;
}
View gist:1a28b1e7612268ba165f
######### nginx.conf
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;