Steps:
-
Create Digital Ocean Droplet with Dokku v0.3.16 on 14.04 image
-
Login into the droplet and Update local settings.
sh -c "echo 'LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8' > /etc/default/locale" reboot
Steps:
Create Digital Ocean Droplet with Dokku v0.3.16 on 14.04 image
Login into the droplet and Update local settings.
sh -c "echo 'LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8' > /etc/default/locale"
reboot
I created question on StackOverflow
When trying to start Node.js app hosted on Heroku with MongoLab addons, I got following error on heroku logs when connecting to MongoDB.
My entire vode is here: https://github.com/yhagio/meetup_planner
Heroku logs
#! /bin/bash | |
# For use with Flink/dokku-psql-single-container. | |
# Based on http://donpottinger.net/blog/2014/11/25/postgres-backups-with-dokku.html | |
set -e | |
BASE_DIR="/var/backups/postgres" | |
mkdir -p $BASE_DIR | |
YMD=$(date "+%Y-%m-%d") |
My notes for Dokku on Digital Ocean.
Install dokku-cli (gem install dokku-cli
) for a more Heroku-like CLI experience (dokku config:set FOO=bar
).
# List/run commands when not on Dokku server (assuming a "henroku" ~/.ssh/config alias)
ssh henroku dokku
ssh henroku dokku config:get my-app
cache: | |
mount: | |
- wheeldir | |
build: | |
image: python:2.7.11 | |
commands: | |
- pip wheel -r requirements.txt --wheel-dir=wheeldir --find-links=wheeldir | |
- pip install --use-wheel --no-index --find-links=wheeldir -r requirements.txt | |
- nosetests -v test/ |
# DOCKER-VERSION 1.1.2 | |
FROM ubuntu:14.04 | |
# Speed up apt-get according to https://gist.github.com/jpetazzo/6127116 | |
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup | |
RUN echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache | |
# Update the distribution | |
ENV DEBIAN_FRONTEND noninteractive |
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */ | |
/* Author: Nicolas Hery - http://nicolashery.com */ | |
/* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */ | |
/* Source: https://github.com/nicolahery/markdownpad-github */ | |
/* RESET | |
=============================================================================*/ | |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
margin: 0; |
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
# NPM CheatSheet. | |
# Super easy intall: npm comes with node now. | |
# To create your own npm package: https://www.npmjs.org/doc/misc/npm-developers.html | |
# More: https://www.npmjs.org/doc/ | |
# 1. NPM Command Lines. | |
# Local mode is the default. | |
# Use --global or -g on any command to operate in global mode instead. |
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |