A demo is available here.
Let’s see now how to install ShareFest on your own server.
1) Install nodejs and npm
– If you use Ubuntu, simple run (as root)
apt-get install nodejs npm
– If you are on Debian (Wheezy?) like me, you can install nodejs from wheezy-backports (modify your source.list accordingly) and run (in root):
apt-get install nodejs nodejs-legacy curl
and for npm, you can use the installer
curl https://www.npmjs.com/install.sh | sh
2) Clone their latest release into your /var/www folder
If you don’t have git installed, simply run:
apt-get install git
Then clone their repo
cd /var/www git clone https://github.com/Peer5/ShareFest.git
3) Install the required dependencies with npm
cd ShareFest npm install --dedupe
4) Start the service
and you should now be good to start!
Simply go to http://YourIP:13337
If you want to know more about ShareFest, you can check their growing FAQ.
Your next step could be to set up a virtualhost to have a more userfriendly URL like sf.domain.tld and even force SSL connection.
What you will need:
1) Create a A redirection in your DNS server/registrar with sf.domain.tld to your IP
2) Have SSL certificate ready. If not you can read this tutorial. (Optional)
3) Create your virtualhost as following:
In /etc/apache2/sites-enabled/, create a file called sharefest (In root):
and paste the following content:
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName sf.domain.tld Redirect / https://sf.domain.tld </VirtualHost> <IfModule mod_ssl.c> <VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/ssl/certs/myblog.pem SSLCertificateKeyFile /etc/ssl/private/myblog.key ServerAdmin email@example.com ServerName sf.domain.tld DocumentRoot /var/www/ShareFest <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/ShareFest> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </VirtualHost> </IfModule>
Adapt the content (Servername, webmaster, SSL certificate and directory).
When done, save the file (CTRL+X then Yes) and reload apache: (In root)
Now your ShareFest instance should be fully working will SSL certificate and accessible through sf.domain.tld.