Snipt is an open-source tool that allows users to share and manage code snippets. In this tutorial, we will go through the steps needed to install Snipt on an Ubuntu server.
sudo apt-get update
sudo apt-get install -y curl git sqlite3 libsqlite3-dev imagemagick libmagickwand-dev libcurl4-openssl-dev libssl-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev build-essential
\curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.1
rvm use 2.1 --default
gem install bundler
git clone https://github.com/nicksergeant/snipt.git
cd snipt
bundle install
rake db:setup
rails server
http://your-server-ip
or
http://your-server-hostname
Congratulations! You have successfully installed Snipt on your Ubuntu server. You can now use Snipt to manage and share your code snippets.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!