From 1da1535960b74d27141f137d8c2798466e285e50 Mon Sep 17 00:00:00 2001 From: hawkfalcon Date: Wed, 6 Mar 2013 19:13:30 -0800 Subject: [PATCH] Created Installation (markdown) --- Installation.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Installation.md diff --git a/Installation.md b/Installation.md new file mode 100644 index 0000000..edd44d8 --- /dev/null +++ b/Installation.md @@ -0,0 +1,29 @@ +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