How to setup Discourse 2.8.0 locally on macOS
git clone https://github.com/discourse/discourse.git
git clone https://github.com/discourse/discourse.git
#!/bin/bash | |
swift <(echo 'import Foundation;import CoreServices;LSSetDefaultHandlerForURLScheme("mailto" as NSString as CFString, "com.microsoft.Outlook" as NSString as CFString)') |
#!/bin/bash | |
# Author: Jari Pennanen | |
# Url: https://gist.github.com/Ciantic/4e543f2d878a87a38c25032d5c727bf2 | |
# create your API Key at https://dash.cloudflare.com/profile/api-tokens | |
# Required permissions: Zone Settings:Read, Zone:Read, DNS:Edit (all under zone) | |
AUTH_KEY="" # Get this from My profile -> API Keys -> View | |
DOMAIN="example.com" # main domain | |
SUBDOMAIN="home.example.com" # set A and AAAA-record of this subdomain |