The Rails OpenLiteSpeed One-Click app automatically installs Linux, performance web server OpenLiteSpeed, Ruby, Rails, rbenv and CertBot. OpenLiteSpeed features HTTP/3 support, and easy setup for SSL and RewriteRules. It’s flexible enough to host multiple Rails apps, and supports many other apps including Python, NodeJS, and CMSs like WordPress.
Package | Version | License |
---|---|---|
Ruby | 3.0.7 | 2-clause BSD License |
Rails | 7.1.4 | MIT |
OpenLiteSpeed | 1.7.19 | GPLv3 |
rbenv | 1.1.2 | MIT |
Node.js | 16.20.2 | Custom |
NPM | 8.19.4 | Artistic License 2.0 |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the OpenLiteSpeed Rails 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB OpenLiteSpeed Rails Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
From a terminal on your local computer, connect to the Droplet as root. Make sure to substitute the Droplet’s IP address.
An interactive script that runs will first prompt you for your domain or subdomain.
You can press CTRL+C and continue to SSH. The prompt will open again the next time you log in, and will continue to do so until you finish the whole setup.
You can also automatically apply Let’s Encrypt SSL if your domain is pointed to this server already. Enter y
and your email address to finish the process.
Once finished, you should see Certificate has been successfully installed…
Enter y
to force HTTPS rules to be applied
This script will automatically go away after your domain has been added.
Please visit our Quick Start page for details on how to access your Rails One Click and complete your configuration.