We’re all familiar with digitalOcean’s shiny-server command line interface, but how does it work?
Let’s dig in and find out.
DigitalOcean uses the shiny-node module to manage its hosting.
You can use this module to configure your shiny-hosted servers.
You can also use the shiny node command line utility to run the shiny server on DigitalOcean.
This is how you run the server on the DigitalOcean server:You can then deploy the shiny hosted service, or any other shiny hosted service, on DigitalOcean.
This guide walks you through the process of configuring your shiny server, installing shiny-core, and configuring the shiny service.
We’ve included some basic tips on setting up shiny servers for DigitalOceans shiny hosting service.
To get started, go to DigitalOcean’s official shiny-servers website, and check out our guide on setting your shiny hosting account up.
You’ll need to register your shiny hosts.
We recommend registering your shiny host with DigitalOcean, but you can also find a guide on how to register a shiny host on the shiny hosts site.
You need to have your shiny node.js app installed on DigitalOs shiny hosting server, which is an npm package.
We highly recommend installing the npm package to use shiny hosts on Digital Ocean.
Next, we’re going to configure our shiny hosts for Digitalocean.
First, we need to create a shiny-devicenode-hosts folder in our project directory.
Next, we’ll install shiny-cli.
Next we’ll setup the shiny Node module to access the shiny nodes on Digitaloceans shiny servers.
Next we’ll configure the shiny command line tool to run our shiny server.
We’re going all in with shiny-shippecodes, so we’ll create a simple shiny-api.js file and add it to the shiny devicenodes folder.
We’ll also use our shiny node to connect to Digitalocean shiny hosts, and we’ll add the shiny web server to the Digitaloces shiny hosts list.
We can now run the node command in our shiny devICenodeHosts file, and then click the “Start Server” button in the shiny CLI.
You should see your shiny service available in the DigitalOcean dashboard.
If we check out the shiny servers list on Digitalodes shiny host list, we can see our shiny service is available in DigitalOcean on the main shiny host.
If we check the shiny api.js and shiny-cli.js files in our package.json file, we see our node is available on Digitaloacean shiny hosts:If we click on the “Register Shiny Hosts” button at the top of our shiny api-js file, you’ll be prompted to provide your DigitalOcean shiny hostname and the Digitaloacean domain that DigitalOcean uses to host your shiny servers:If you want to create your own shiny hosts with your own DigitalOcean domains, check out this guide.
Once you have your hosts created, we’ve created a shiny server to host our shiny services.
Let’s get started!