Skip to content
Web site of spinalcordmri organization.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


How to set up Jekyll

Nice tutorials here:

Add domain

Set up Discourse Forum


Create account & droplet in Digital Ocean. Droplet configure : 1GB RAM, 1 vCPU,25 GB HDD, 1 TB transfer.

Setup email

  • Create an account on SendGrid
  • Generate and copy to clipboard an API Key in SendGrid/Settings/API Keys

Setup Discourse server

Connect to the droplet server provided by Digital Ocean, then do:

  • Install Docker:
wget -qO- | sh
  • Clone Discourse deploy
mkdir /var/discourse
git clone /var/discourse
cd /var/discourse
  • Install Discourse
Hostname      :
Email         :
SMTP address  :
SMTP port     : 587
SMTP username : apikey
SMTP password : [SendGrid API Key]
Let's Encrypt : [press Enter]

Setup subdomain in namecheap

  • To create a subdomain, please do the following:
    • Go to your Domain List and click Manage next to the domain
    • Select the Advanced DNS tab
    • Find the Host Records section and click on the Add New Record button
    • Select A Record for Type and enter the Host you would like to point to an IP address DigitalOcean_Server_IP_Address

Configuring Google login for Discourse (reference)

Go to, click on Credentials and create a new Project.

  • Project name Forum spinalcordmri
  • Project id forum-spinalcordmri

Select Credentials in the left menu, Create credentials and OAuth client ID type for the credentials.

  • Application type Web application
  • Name Forum
  • Authorized JavaScript origins
  • Authorized redirect URIs

Configure your OAuth Consent Screen

  • Product name shown to users Forum
  • Homepage URL
  • Privacy policy URL

Click Library in the left menu and you’ll see a huge list of Google API’s. Find Google+ API and enable them.

The API will create google_client_id and google_client_secret which you can add under, after checking enable google oauth2 logins

Configure GitHub login for Discourse (reference)

Under, click Settings (the gear icon), then look for OAuth Applications in the left menu. Select Register new application.

  • Application name
Forum spinalcordmri
  • Homepage URL
  • Application description
Forum spinalcordmri
  • Authorization callback URL

The app will create github_client_id and github_client_secretwhich you can add under, after checking enable github logins


Check what IP are associated with the URL:


Check that domain exists, and get info about registrar:

You can’t perform that action at this time.