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
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.2' | |
# Use sqlite3 as the database for Active Record | |
gem 'mysql2', :groups => :production | |
gem 'sqlite3', :groups => [:development, :test] | |
# Use SCSS for stylesheets |
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
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# | |
# If you find yourself ignoring temporary files generated by your text editor | |
# or operating system, you probably want to add a global ignore instead: | |
# git config --global core.excludesfile ~/.gitignore_global | |
# Ignore bundler config | |
/.bundle | |
# Ignore the default SQLite database. |
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
spree ALL=NOPASSWD: /usr/local/bin/bluepill |
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
Store::Application.config.secret_token = 'my secret is at least thirty characters long' | |
Store::Application.config.secret_key_base = 'my secret is at least thirty characters long' |
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
Devise.secret_key = 'my secret is at least thirty characters long' |
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 -y python-software-properties | |
sudo add-apt-repository ppa:fish-shell/nightly-master | |
sudo add-apt-repository ppa:lvillani/silversearcher | |
sudo sed -i -e 's/us.archive.ubuntu.com/ubuntu.wikimedia.org/g' /etc/apt/sources.list | |
sudo apt-get update -qq | |
sudo apt-get install -y git-core build-essential ranger htop vim highlight tmux nodejs curl silversearcher-ag fish | |
ranger #quit | |
ranger --copy-config=all | |
chsh -s /usr/bin/fish | |
fish |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
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 "bundler/capistrano" | |
load 'deploy/assets' | |
set :stages, %w(production staging) | |
set :default_stage, 'staging' | |
require 'capistrano/ext/multistage' | |
set :application, "spree" | |
set :user, 'spree' | |
set :group, 'www-data' |
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
Store::Application.configure do | |
# Settings specified here will take precedence over those in config/application.rb. | |
# Code is not reloaded between requests. | |
config.cache_classes = true | |
# Eager load code on boot. This eager loads most of Rails and | |
# your application in memory, allowing both thread web servers | |
# and those relying on copy on write to perform better. | |
# Rake tasks automatically ignore this option for performance. |
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
# Configure Spree Preferences | |
# | |
# Note: Initializing preferences available within the Admin will overwrite any changes that were made through the user interface when you restart. | |
# If you would like users to be able to update a setting with the Admin it should NOT be set here. | |
# | |
# In order to initialize a setting do: | |
# config.setting_name = 'new value' | |
Spree.config do |config| | |
# Example: | |
# Uncomment to override the default site name. |
OlderNewer