-
Deploy the app to heroku following heroku normal instructions (add link to heroku help)
-
Set heroku environment variables
Make sure all the options in
config.yml
are properly set then run:bundle exec rake heroku:config
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
'use strict'; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
/* tslint:disable no-require-imports */ | |
const fs = require("fs"); | |
const path = require("path"); | |
const glob = require("glob"); | |
const paths = require("path"); | |
const istanbul = require('istanbul'); |
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
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get update && sudo apt-get install -y nodejs yarn |
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
server { | |
listen 80; | |
server_name ~^(www\.)?(?<project>.+?).dev$; | |
root /projects/$project; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location / { |
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
Active Internet connections (including servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address (state) | |
tcp4 0 0 192.168.25.111.58556 94.23.9.195.80 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58555 91.185.207.128.80 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58554 91.185.207.128.80 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58553 23.239.11.213.80 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58455 192.111.0.25.443 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58452 64.233.186.95.80 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58441 186.215.111.105.80 ESTABLISHED | |
tcp4 0 0 192.168.25.111.58434 173.194.119.4.80 ESTABLISHED |
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
(function() { | |
// Localize jQuery variable | |
var jQuery; | |
/******** Load jQuery if not present *********/ | |
if (window.jQuery === undefined || window.jQuery.fn.jquery !== '1.4.2') { | |
var script_tag = document.createElement('script'); | |
script_tag.setAttribute("type","text/javascript"); | |
script_tag.setAttribute("src", |
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
exec error: Error: Command failed: js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 10: missing ; before statement | |
js: class Compiler | |
js: .............^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 12: missing ; before statement | |
js: public filePattern; | |
js: ...................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 14: missing ; before statement | |
js: private compiledModules = []; | |
js: ........................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 15: missing ; before statement |
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 Sparrow.Domain.ServiceOrder | |
{ | |
using System; | |
using System.Collections.Generic; | |
using Iesi.Collections.Generic; | |
using Jack.Core.Domain; | |
using Jack.Core.Envent; |
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
require 'colorize' | |
module Liftr | |
module Importers | |
class ImportOnce < ::Sass::Importers::FilesystemFilesystem | |
attr_accessor :root, :debug_level, :staleness_check, :imported, :original_filename | |
# Creates a new filesystem importer that imports files relative to a given path. | |
# |
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
<?php | |
// WARNING: This is the simplest possible example. It could be vastly improved | |
// by keeping the HamlPHP instance somewhere and, even more important, caching parser results | |
function render_partial($file, $data) { | |
$parser = new HamlPHP(new FileStorage('path/to/tmp/')); | |
$content = $parser->parseFile($file); | |
echo $parser->evaluateFile($content, $data); | |
} |