The following prerequisites are required to build and use the website along with a brief guide to quickly set it up.
There are great tutorials available for this online, so we won't duplicate them here.
On Ubuntu (and Debian, Linux Mint, etc.), an easy way to get node is to run:
sudo apt-get install php5-mysqlnd
On Fedora (and other similar distributions):
yum install php-mysqlnd
In order to run the build process, you'll need Node.js and some npm modules.
There are several ways to install node.js, and it might be best for you to Google about how to get the latest version of node.js for your system. This repo has been tested with node v0.12. (The version provided by the default package manager is generally old.)
On Ubuntu (and Debian, Linux Mint, etc.), an easy way to get node is to run:
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
# Then install with:
sudo apt-get install nodejs
An easy way to get node.js (not sure if latest version) on Fedora (and other similar distributions) is to run:
curl -sL https://rpm.nodesource.com/setup | sudo bash -
# Then install with:
yum install nodejs
Common ways to keep an updated node.js installation are to use nvm or n.
You'll also need to get composer, a PHP package manager.
There are excellent instructions on how to download it at getcomposer.org/download.
For quick reference, you can download a working composer
script into your current directory by running:
curl -sS https://getcomposer.org/installer | php -- --filename=composer
You'll have to move it to some directory that's in your $PATH
if you want to run it without giving a file path.
After you've got node
and composer
set up, check out README.md for information about how to run the build process and set up the site.