Skip to content

Instantly share code, notes, and snippets.

View Arcrammer's full-sized avatar
:octocat:
👨🏼‍💻

Alexander Rhett Crammer Arcrammer

:octocat:
👨🏼‍💻
  • Atlanta, Georgia
View GitHub Profile
@Arcrammer
Arcrammer / 000-ialexander-staging.conf
Last active April 1, 2016 12:15
Second Django site on another subdomain problem
# This is the site I want to see at beta.ialexander.io
# WSGI Stuff
WSGIPythonPath /var/www/Ullmannite-Staging
<VirtualHost *:80>
# WSGI Stuff
WSGIScriptAlias / /var/www/Ullmannite-Staging/Ullmannite/wsgi.py
# Identification
@Arcrammer
Arcrammer / Capfile
Created January 8, 2016 16:05
Eximius in Rails with Capistrano
# Linked files
require 'capistrano/linked_files'
# Load DSL and set up stages
require 'capistrano/setup'
# Include default deployment tasks
require 'capistrano/deploy'
# Include tasks from other gems included in your Gemfile
@Arcrammer
Arcrammer / Deploy
Created January 8, 2016 16:01
Capistrano insisting there are too few arguments
➜ Eximius-in-Rails git:(master) ✗ cap production deploy --trace
** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke rvm:hook (first_time)
** Execute rvm:hook
DEBUG [badd2f09] Running /usr/bin/env [ -d ~/.rvm ] as deploy@104.236.49.128
DEBUG [badd2f09] Command: [ -d ~/.rvm ]
DEBUG [badd2f09] Finished in 0.982 seconds with exit status 0 (successful).
Laravel Framework version 5.1.24 (LTS)
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
@Arcrammer
Arcrammer / Dockerfile
Created December 1, 2015 12:29
Rails Dockerfile
FROM ruby:latest
MAINTAINER Alexander Rhett Crammer <Alexander2475914@gmail.com>
# ENV Variables
ENV HOME /home/rails/eximius
# Dependencies required by Rails and RubyGems
RUN apt-get update -qq \
&& apt-get install -y \
build-essential \