From 6de4415fa517b7edb9a67e268178f3200c712bcf Mon Sep 17 00:00:00 2001 From: hawkfalcon Date: Thu, 7 Nov 2013 09:16:50 -0800 Subject: [PATCH] Move installation to main wiki page --- Home.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index ab69c53..c613a15 100644 --- a/Home.md +++ b/Home.md @@ -1,3 +1,32 @@ Welcome to the haste-server wiki! -For detailed installation instructions, see [here](https://github.com/seejohnrun/haste-server/wiki/Installation). \ No newline at end of file +Installation instructions for HasteBin: (the linux edition) + +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 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +2. Install node.js +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +git clone git://github.com/joyent/node.git +cd node +./configure +make +sudo make install +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +3. Install hastebin +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 \ No newline at end of file