Basically, my script does a standard cloud-install.
The magic is that if you provide it with API keys for Digital Ocean and Mailgun, it goes to Mailgun and
- Creates the domain for sending mail
- gets the SMTP password
- gets the DNS settings needed to get mailgun to approve sending from the domain
Then on Digital Ocean, it
- Creates the droplet
- puts in all of the required DNS changes (for people who use DO for their DNS)
Then it builds a script to
- install docker
- set up automatic updates & reboot automatically when it’s required
./discourse-setup and spit in all of the answers to its questions
And then it sends an email (that looks something like this with detailed instructions about what you need to do (set up DNS, get Mailgun to check that DNS is set up) and handy links (e.g., to mailgun’s logs so that you can see you failed to give them a credit card number).
Right now, what happens when someone purchases a US$99 install from me, I get an email that I paste into a terminal. I’m hoping that Real Soon Now, I’ll be taken out of the loop and reduce the price (by half, maybe?) and increase sales (by 4X? 1000X?).
OK. Back to trying to figure out BtrainTree and Rails.