pipecode

Install

First, you must furnish your web server with some common free software packages.

Operating System

Although we are using Ubuntu Server 14.04 LTS 64-bit, you are free to use any Linux distribution that you want.

Web Server

Although we are using Nginx, you can probably get away with Apache + mod_rewrite.

apt-get install nginx

Set the nginx "root" directive to be the "www" directory in the pipecode source. Example: /etc/nginx/sites-enabled/example-site.txt

PHP

apt-get install php5-fpm

Make sure you have the following options set in php.ini:

  • short_open_tag = On
  • cgi.fix_pathinfo = 0

MySQL

Or MariaDB if you want.

apt-get install mysql-server php5-mysql

Cache

Pipecode supports two cache mechanisms: APC and memcached. We recommend that you keep them disabled for now as they are not quite finished.

Pipecode

Download and extract Pipecode to a new directory. Something like this:

mkdir /var/pipecode
cd /var/pipecode
wget http://pipecode.org/pipecode-0.0.1.tar.gz
tar xfvz pipecode-0.0.1.tar.gz
mv pipecode-0.0.1/* .
rmdir pipecode-0.0.1
rm pipecode-0.0.1.tar.gz

Um, yep. That's it.