<!doctype html>
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:website="http://ogp.me/ns/website" lang="en-US" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<base href="">
<meta charset="utf-8" />
<title>website name</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<link rel="canonical" href="http://www.website.com/"/>
<meta property="og:site_name" content="website name"/>
<meta property="og:title" content="website name"/>
<meta property="og:url" content="http://www.website.com/"/>
<meta property="og:type" content="website"/>
<meta itemprop="name" content="website name"/>
<meta itemprop="url" content="http://www.website.com/"/>
<meta name="twitter:title" content="website name"/>
<meta name="twitter:url" content="http://www.website.com/"/>
<meta name="twitter:card" content="summary"/>
<meta name="description" content="" />Smartly.io is the leading Facebook ad optimization solution for agencies and performance marketers
sudo su and run the following
aptitude update
install all dependencies
aptitude -y install \
python-pip \
python2.7-dev \
libssl-dev \
libcurl4-openssl-dev \
python-numpy \
python-opencv \
libopencv-dev \
libjpeg-dev \
libpng-dev \
libx264-dev \
libass-dev \
libvpx1 \
libvpx-dev \
libwebp-dev \
webp \
gifsicle
install thumbor, will take a while
pip install thumbor
set default thumbor config
thumbor-config > /etc/thumbor.conf
adding a key
SECURITY_KEY = 'YZTlj1k5nFZA58U25eiJ5X3z9j8RhTg8'
create init file /etc/init/thumbor.conf
description "Thumbor image manipulation service"
author "Nicolas Danelon <nicolas@smarttly.com>"
start on startup
stop on shutdown
exec thumbor -c /etc/thumbor.conf -p 80
post-start script
PID=`status thumbor | egrep -oi '([0-9]+)$' | head -n1`
echo $PID > /var/run/thumbor.pid
end script
post-stop script
rm -f /var/run/thumbor.pid
end script
set, check and run thumbor init file
chmod 755 /etc/init/thumbor.conf && \
init-checkconf /etc/init/thumbor.conf && \
initctl reload-configuration && \
service thumbor start
testing run
thumbor -c /etc/thumbor.conf -p 80bootswatch geocities altavista WTF
A long-form article entitled: "Enterprise Patterns"