VM Install : Google
How to install OpenSquiggly on a Google Cloud virtual machine.
Overview of Installing on Google Cloud
We’ve provided a quick setup script that makes it easy to configure your disk space and install dependencies on a Google Cloud Compute Engine Instance (i.e., a Virtual Machine).
In this section, you’ll complete the following steps:
- Create an Instance (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 an Instance
Steps to Complete
- Log into your Google cloud portal.
- Create a Google Cloud Compute Instance and fill in the following parameters:
- Name - Give the instance a name
- Image - Choose Ubuntu 20.04 LTS
- Pick your region
- Choose the size of the Instance.
- 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 from your web browser using the Google Cloud Portal.
- 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
- 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 google-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.