mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-26 12:06:59 +00:00
Fix formatting
parent
4e23c14460
commit
1413e25cc1
1 changed files with 21 additions and 20 deletions
|
@ -3,30 +3,31 @@ Installation instructions for HasteBin.
|
||||||
## Debian and derivates
|
## Debian and derivates
|
||||||
|
|
||||||
1. Install dependancies
|
1. Install dependancies
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
sudo apt-get install g++ curl libssl-dev apache2-utils
|
```sh
|
||||||
sudo apt-get install git-core
|
sudo apt-get install g++ curl libssl-dev apache2-utils
|
||||||
sudo apt-get install redis-server
|
sudo apt-get install git-core
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
sudo apt-get install redis-server
|
||||||
|
```
|
||||||
|
|
||||||
2. Install node.js
|
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
|
3. Install and start hastebin
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
git clone git://github.com/seejohnrun/haste-server.git
|
```sh
|
||||||
cd haste-server
|
git clone git://github.com/seejohnrun/haste-server.git
|
||||||
npm install
|
cd haste-server
|
||||||
npm install hiredis #optional
|
npm install
|
||||||
npm start
|
npm install hiredis #optional
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
npm start
|
||||||
|
```
|
||||||
|
|
||||||
And you should have hastebin!
|
And you should have hastebin!
|
||||||
Note: It will run on port 7777 by default
|
Note: It will run on port 7777 by default
|
||||||
|
|
Loading…
Reference in a new issue