Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.07 KB

INSTALL.md

File metadata and controls

48 lines (31 loc) · 1.07 KB

installation instruction

Install node.js

Install build dependencies of node:

sudo apt-get install build-essential libssl-dev
sudo apt-get install git curl
git clone git://github.com/creationix/nvm.git ~/.nvm

Add following code into the end of your shell startup script (.bashrc for BASH):

if [ -s "$HOME/.nvm/nvm.sh" ] ; then
    . ~/.nvm/nvm.sh # Loads NVM into a shell session.
fi

Reopen terminal. Install node (long), and set default version:

nvm install v0.8.8
nvm alias default 0.8

Install Fontomas

sudo apt-get install zip
git clone git://github.com/nodeca/fontomas.git fontomas
cd fontomas
git submodule init
git submodule update
cd support/font-builder
sudo make dev-deps
make support

Then, depending on your installation type, run:

  • npm install for production
  • make dev-setup for development

Run Fontomas server

make app-start

Now you can point your browser to the page http://localhost:3000

Rebuilding embedded fonts

Detailed description will be added soon.

make rebuild-fonts