Connecting to Droplet

AI-generated summary

verilog15 is setting up Discourse locally for development and successfully reached the login page but is confused about the instruction to connect to a “Droplet” via SSH (ssh root@192.168.1.1) mentioned in another guide. They clarify they haven’t purchased a DigitalOcean Droplet yet and are just experimenting locally. simon clarifies that for local development, there’s no need to connect to a Droplet — instead, they should create an admin user directly from the terminal by running RAILS_ENV=development bundle exec rake admin:create from the discourse directory. This command prompts for account details and allows granting admin privileges, after which they can log in with the new admin account. The confusion stems from mixing instructions meant for production (Droplet/SSH) with local development setup.

Hello, I’m trying to install Discourse on localhost to play around. I succsfully did all the steps in the Install Discourse on Ubuntu or Debian for Development guide.

I connected to http://localhost:9292/ and it says:

On the following link Create an admin account from the console it says to connect to Droplet by doing: ssh root@192.168.1.1.
What does it mean? I though Droplets are a thing in DigitalOcean (And I still didn’t purch a vps on DigitalOcean - just wanted to play around before buying). Where should I connect or how should I continue?

Thank you for the help

In the Install Discourse on Ubuntu or Debian for Development topic, an admin user should be created by following the step in the Create New Admin section. From your discourse directory run:

RAILS_ENV=development bundle exec rake admin:create

That command will open a prompt that asks for details about the account you are creating. Make sure to enter Y when it asks if you want to grant admin privileges to the account. Once that has been done, you should be able to login with your new admin account.