mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-26 03:57:00 +00:00
Updated Home (markdown)
parent
5fdb359754
commit
df1b7e852a
1 changed files with 4 additions and 30 deletions
34
Home.md
34
Home.md
|
@ -1,32 +1,6 @@
|
||||||
Welcome to the haste-server wiki!
|
Welcome to the haste-server wiki!
|
||||||
|
|
||||||
Installation instructions for HasteBin: (the linux edition)
|
* [Installation](Installation)
|
||||||
|
* Automatic Startup
|
||||||
1. Install dependancies
|
* [Systemd unit](Systemd Unit for haste server)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
* [Sysinit init.d](init\.d script for haste server)
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in a new issue