Ruby: Configuring your Ruby service
This documentation is part of the Deploy to production guide. You can view the complete guide here: Deploy Ruby code to production in minutes with Stackhero.
👋 Welcome to the Stackhero documentation!
Stackhero provides a ready-to-use Ruby cloud solution that delivers numerous advantages, including:
- Deploy your application in just a few seconds with a simple
git push.- Use your own domain name and take advantage of automatic configuration of HTTPS certificates for enhanced security.
- Benefit from automatic backups, one-click updates, and clear, transparent, and predictable pricing.
- Enjoy optimal performance and enhanced security thanks to a private, dedicated VM.
Save time and make your life easier: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!
If you haven’t created a Stackhero for Ruby service yet, you can do so from your Stackhero dashboard in just a few minutes.
Once your Ruby service is up and running, the next step is to add your SSH public key. To display your public key, run:
cat ~/.ssh/id_*.pub
Don’t have SSH keys yet?
You can generate one with:
ssh-keygen -t ed25519
To add your SSH key, go to your Stackhero dashboard, select your Ruby service, click "Configure", and paste your public key into the "SSH public keys" section.
<!--  -->Tip: To save time in the future, you can add your SSH public key to your Stackhero profile. Any new services you create will include it automatically.
Click your profile picture at the top right of the dashboard, select "Your profile", and add your SSH public key.