Discourse files and folders
Main Directory: /var/discourse
Config file: /var/discourse/containers/app.yml
ssh into the instances.
Type cd /var/discourse/
Now, type sudo ./launcher rebuild app
Note, this rebuilding process can take upto 10-15 mins.
Then, open the discourse url i.e http://instance-public-ip/
Login into the account by entering username as admin and password as instance-id.
Now, Find this first line Welcome to your new Discourse! Let’s get started with the setup wizard and begin your own forums by clicking on setup wizard.
1. sudo chmod 400 "yourpemkeyname.pem"
2. ssh -i "yourpemkeyname.pem"ubuntu@yourinstanceip
If you want to attach a domain, please remove the ip automation file by typing:
sudo rm /var/discourse/ip.sh