How to access Discourse AMI?
Installation steps
ssh into the instance
Type cd /var/discourse/
Now, run sudo ./launcher rebuild app
Note: This rebuilding process can take upto 10-15 mins
Then, open the discourse URL http://instance-public-ip/
Once the rebuilding process is finished create admin account from the steps below.
Creating Admin Account for Discourse
Enter the Discourse Container:
- cd /var/discourse/
- ./launcher enter app
Creating Admin account:
- rake admin:create
- It will ask for Email and Password enter the details accordingly.
- The user name will be displayed on the screen once the user is created.
- To change the username to admin run the below command.
rake users:rename['old_username','admin']
- Once done it will show User Renamed!.
- To Exit the Container press CTRL+D
Discourse Files and Folder
Main Directory : /var/discourse
Config file : /var/discourse/container/app.yml
Instance Login
Shell/Terminal
sudo chmod 400 yourpemkeyname.pem
ssh -i yourpemkeyname.pem ubuntu@yourinstanceip
Domain Settings
If you want to attach a domain , please remove the ip automation script by typing :
sudo rm /var/discourse/ip.sh
Your Trusted Partner for Building AI-Powered Custom Applications
Tell Us What You Need
Share your goals, challenges, and vision.
Get Expert Advice — Free
We'll analyze your needs and suggest the best approach.
Start Building
Move forward with a trusted team — we'll handle the tech.
16+
Years in Business
1500+
Projects Completed
50+
Top-notch Experts
Trusted by
Let's Talk
Bring Your Vision to Life with Cutting-Edge Tech.