From 1413e25cc150e4d2a0f4cf62116f9909c30a0df9 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 2 Sep 2014 17:26:27 -0700 Subject: [PATCH] Fix formatting --- Installation.md | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/Installation.md b/Installation.md index 3232ca6..04e0c86 100644 --- a/Installation.md +++ b/Installation.md @@ -3,30 +3,31 @@ Installation instructions for HasteBin. ## Debian and derivates 1. Install dependancies -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sudo apt-get install g++ curl libssl-dev apache2-utils -sudo apt-get install git-core -sudo apt-get install redis-server -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + ```sh + sudo apt-get install g++ curl libssl-dev apache2-utils + sudo apt-get install git-core + sudo apt-get install redis-server + ``` 2. Install node.js -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -git clone git://github.com/joyent/node.git -cd node -./configure -make -sudo make install -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - + ```sh + git clone git://github.com/joyent/node.git + cd node + ./configure + make + sudo make install + ``` 3. Install and start hastebin -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -git clone git://github.com/seejohnrun/haste-server.git -cd haste-server -npm install -npm install hiredis #optional -npm start -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + ```sh + git clone git://github.com/seejohnrun/haste-server.git + cd haste-server + npm install + npm install hiredis #optional + npm start + ``` And you should have hastebin! Note: It will run on port 7777 by default