Assuming you followed the standard installation guide, you would SSH into the server and run:
cd /var/discourse/
./launcher enter app
rails console
Assuming you followed the standard installation guide, you would SSH into the server and run:
cd /var/discourse/
./launcher enter app
rails console