DEV Community

Sid Ali BENTIFRAOUINE
Sid Ali BENTIFRAOUINE

Posted on

💎 🚀🦈 Deployer Rails 7 sur un Droplet Digital Ocean

Création d'un Droplet

Se rendre ici: https://cloud.digitalocean.com/droplets/new?i=c8faa3&region=fra1&size=s-4vcpu-8gb-amd

Ne rien toucher sauf qu'il faut config le SSh de preference

Image description

Se connecter en SSH au Droplet

ssh root@1.2.3.4
Enter fullscreen mode Exit fullscreen mode

Installation des dépendances qu'il faut

apt install build-essential curl g++ gcc autoconf automake bison libc6-dev libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libtool libyaml-dev make pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev


asdf install ruby 3.2.2
asdf global ruby 3.2.2

$SHELL

gem update --system

gem intsall rails

Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay