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 offering a range of advantages, including:

  • Deploy your application within seconds using a simple git push.
  • Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
  • Take advantage of automatic backups, one-click updates, and clear, transparent, and predictable pricing.
  • Enjoy optimal performance and enhanced security thanks to a private, dedicated infrastructure.

Save time and make your life easier: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!

If you have not yet created a Stackhero for Ruby service, 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

Do you not 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.

<!-- ![Example of a Ruby service configuration](/images/docs/ruby/040_deploy/rubyStackheroPublicKey.png) -->

Tip: To save time later, you can add your SSH public key to your Stackhero profile. Any new services you create will include it automatically.

Click your profile picture in the top right corner of the dashboard, select "Your profile", and add your SSH public key.