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
activemerchant --version 1.4.1 | |
activerecord-tableless --version '>= 0.1.0' | |
calendar_date_select --version 1.15 | |
chronic --version '>= 0.2.3' | |
tlsmail --version 0.0.1 | |
rspec --version '>= 1.2.9' | |
rspec-rails --version '>= 1.2.0' | |
will_paginate --version '>= 2.3.11' | |
authlogic --version '>= 2.0.11' | |
compass --version 0.8.17 |
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
#script created by Matt Anderson, http://tonkapark.com | |
require 'rubygems' | |
require 'bigcartel' | |
require 'csv' | |
# SET YOUR BIGCARTEL ID HERE | |
STORE = 'ugmonk' | |
# SET THE BEST NAME FOR ANY DROP DOWN OPTIONS |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>{{ page.name }} — {{ store.name }}</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | |
<meta http-equiv="Content-Language" content="en-us" /> | |
<meta name="description" content="{{ page.meta_description }}" /> | |
<meta name="keywords" content="{{ page.meta_keywords }}" /> | |
<meta name="author" content="tonkapark.com" /> | |
<link href="/products.rss" rel="alternate" title="Product RSS Feed" type="application/rss+xml" /> |
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
echo "* Updating system" | |
apt-get update | |
apt-get -y upgrade | |
echo "* Installing packages" | |
apt-get -y install build-essential libmagickcore-dev imagemagick libmagickwand-dev libxml2-dev libxslt1-dev git-core nginx redis-server curl nodejs htop | |
id -u deploy &> /dev/null | |
if [ $? -ne 0 ] | |
then |
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 -X POST -H "Authorization: Token token="<<API_TOKEN>>"" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{ | |
"to_country":"US", | |
"to_state": "CA", | |
"to_zip": "90210", | |
"from_state":"CA", | |
"from_zip": "90029", | |
"from_country":"US", | |
"amount": 29.94, | |
"line_items": [ | |
{"quantity": 1, "unit_price": 19.99, "product_tax_code": "31000"}, |