VM Install : Digital Ocean
How to install OpenSquiggly on a Digital Ocean droplet.
Overview of Installing on Digital Ocean
We’ve provided a quick setup script that makes it easy to configure your disk space and install dependencies on a Digital Ocean Droplet.
In this section, you’ll complete the following steps:
- Create a Droplet (i.e, a Virtual Machine)
- Download the OpenSquiggly zip file and run the setup script
- Perform post-installation testing by creating an account, logging in, and create some quick content to verify the instance is working
Part 1 : Creating a Droplet
Steps to Complete
- Log into your Digital Ocean cloud portal.
- Create a Droplet and fill in the following parameters:
- Image - Choose Ubuntu 20.04 LTS
- Pick your region
- Choose the size of the Droplet.
- Enter the Label
- Add an SSH key or choose an existing SSH key that you’ve previously uploaded
- Wait for the Droplet to be provisioned
- Click the Storage tab to add storage
- Add a Volume. Choose a size big enough to accommodate the Git repos you expect to attach.
- Enter a Label for the Volume.
Video
Part 2 : Running the Setup Script
Steps to Complete
- SSH into the VM
ssh ubuntu@your_droplet_address
- Change to the /opt folder
cd /opt
- Install unzip
sudo apt update sudo apt install unzip
- Retrieve the Application Files. Visit the OpenSquiggly website at https://opensquiggly.com for
the latest download instructions which have have changed since this document was published.
sudo wget http://files.opensquiggly.com/opensquiggly.latest.zip ```bash
- Unzip the file
sudo unzip opensquiggly.latest.zip -d OpenSquiggly
- Change to the /opt/OpenSquiggly/setup folder
cd /opt/OpenSquiggly/setup
- Invoke the setup script.
sudo bash digitalocean-setup.sh
- Follow the setup instructions and enter the information when prompted. Please see the video below for additional guidance.
Video
Part 3 : Post-Installation Testing
Steps to Complete
- From your browser, navigate to the IP address DNS address where you VM is registered.
- Click the “Create account” button and create a new account.
- Login with your login id and password.
- Enter some content in the home page.
- Enter a search phrase in the search bar and hit
. Verify that the correct page(s) are returned. - Mount one or more repositories and graft them into your document tree.
- Try searching for some content in your repositories to verify that the search is working.
- Experiment with the Navigator to arrange your document tree to your liking.