This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=My application | |
# Requirements | |
Requires=etcd2.service | |
Requires=docker.service | |
# Dependency ordering | |
After=etcd2.service | |
After=docker.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"eu-central-1" : { | |
"AMI" : "ami-ffafb293" | |
}, | |
"ap-northeast-1" : { | |
"AMI" : "ami-dae8c1b4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy: | |
image: jwilder/nginx-proxy | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock | |
ports: | |
- "80:80" | |
app: | |
build: . | |
ports: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/lotus/loader.rb b/lib/lotus/loader.rb | |
index e038d7f..9221840 100644 | |
--- a/lib/lotus/loader.rb | |
+++ b/lib/lotus/loader.rb | |
@@ -23,7 +23,6 @@ module Lotus | |
load_configuration! | |
load_frameworks! | |
load_application! | |
- finalize! | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/lotus/application.rb b/lib/lotus/application.rb | |
index e730b41..3b1d07c 100644 | |
--- a/lib/lotus/application.rb | |
+++ b/lib/lotus/application.rb | |
@@ -1,5 +1,4 @@ | |
require 'lotus/utils/class_attribute' | |
-require 'lotus/frameworks' | |
require 'lotus/configuration' | |
require 'lotus/loader' | |
require 'lotus/rendering_policy' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import os | |
import boto | |
from pprint import pprint | |
# You can uncomment and set these, or set the env variables AWSAccessKeyId & AWSSecretKey | |
# AWS_ACCESS_KEY_ID="aaaaaaaaaaaaaaaaaaaa" | |
# AWS_SECRET_ACCESS_KEY="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install gitweb | |
$ vim /etc/gitweb.conf | |
# Edite a variável $projectroot informando o diretório dos seus repositórios git. | |
$ vim /etc/apache2/conf.d/gitweb | |
RewriteEngine on | |
RewriteRule ^/gitweb/([a-zA-Z0-9_\-]+\.git)/?(\?.*)?$ /cgi-bin/gitweb.cgi/$1 [L,PT] |