This page shows you how to use the Discourse forum InstantApp on your C1 server.
- You have an account and are logged into cloud.scaleway.com
- You have configured your SSH Key
Discourse is an open source Internet forum software application. Discourse breaks with existing forum software by including features recently popularized by large social networks.
There are four steps to deploy the Discourse InstantApp
Before starting, click the “Create Server” button in the control panel.
You will land on the server-creation page where you must input basic information for your server:
After inputting your server basic information, you have to select the Discourse application image for your server.
On the ImageHub tab, select Discourse. The server will be created with a ready to use Discourse forum.
Click the “Create Server” button, this action creates and starts your server.
To avoid spam, remote mail ports cannot be reached from our infrastructure by default. As Discourse requires to send mail, we need to open them.
On the left panel of the Control Panel, click on “Security”, you will land on the security-groups page. Click the “Create Group” button and input the security group name and description.
Then, on the Discourse security group, set “Block SMTP” to No.
Back to the server view, click the “Show” button to display advanced options and select the security group you previously create. Restart your server to apply the change.
Your Discourse C1 server is now configured and ready to use. When your server is running, copy its public IP address and paste it in your favorite browser.
Create a new account.
Connect your server via SSH
ssh root@server-ip and change for the Discourse user
In the Discourse repository
cd /var/www/discourse run the following command:
RAILS_ENV=production bundle exec rails c # Administratorize yourself: # (in rails console) > me = User.find_by_username_or_email('your-email-address') > me.activate > me.admin = true > me.save > exit # Mark yourself as the 'system user': > SiteSetting.site_contact_username = me.username
Exit the rails console. Your Discourse C1 is now configured and you are admin on it. You can enjoy it and customize it through the Admin panel.