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
project1-api: subcontract --rvm ../project1-api --chdir ../project1-api -- rails s -p 3000 | |
project1-sidekiq: subcontract --rvm ../project1-api --chdir ../project1-api -- bundle exec sidekiq | |
project1-web-ui: subcontract --rvm ../project1-web-ui --chdir ../project1-web-ui -- rails s -p 3001 | |
project2-api: subcontract --rvm ../project2-api --chdir ../project2-api -- rails s -p 4000 |
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
/** | |
* client.js | |
* This script will open socket connection and listen for incoming messages | |
*/ | |
var qtc = require("qtc"); | |
var mws = new qtc.Mws({gatewayId: "GATEWAY_ID"}); | |
// open socket connection | |
mws.open = function(options) { | |
this.getSocketAddress(function(e,res){ |
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
namespace :jasmine do | |
namespace :ci do | |
desc "Run Jasmine CI build headlessly" | |
task :headless do | |
Headless.ly do | |
puts "Running Jasmine Headlessly" | |
Rake::Task['jasmine:ci'].invoke | |
end | |
end | |
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
gitlab: | |
image: sameersbn/gitlab:8.3.2 | |
environment: | |
- KONTENA_LB_INTERNAL_PORT=80 | |
- KONTENA_LB_VIRTUAL_HOSTS=git.badcatlab.com | |
- DB_HOST=%{project}-gitlab-postgres.kontena.local | |
- DB_USER=gitlab | |
- DB_NAME=gitlabhq_production | |
- DB_PASS=ktNNfTKpNTbc4cWJ4rHcvbwKTMCCddXtkrCbJmXmbvVXW9PHVPXhXhXKHnvKXzVd | |
- REDIS_HOST=%{project}-gitlab-redis.kontena.local |
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
# Install Kontena master | |
# HA-proxy | |
# If you have SSL certificate | |
SSL_CERT="/path/to/cerf_file" | |
SSL_CERT=$(awk 1 ORS='\\n' $SSL_CERT) | |
# else | |
SSL_CERT="**None**" |