To set-up your workstation for development:
To deploy a site from scratch:
Purchase a domain name from http://dyn.com/
ns1.digitalocean.com ns2.digitalocean.com ns3.digitalocean.com
If your customer would like to use Google Mail
Set-up the basic DNS records e.g.
Don’t forget to add a
CNAME entry for the
If you are using mailgun for your project, then enable it: Mailgun
Your site doesn’t yet have
https enabled, so for the
Action on the mailgun route, use
Set-up your pillar Site - Configuration
Set-up your site with
Transfer the pillar to the salt master and then Salt - Provision
Create the database for your project: Database
Release your project: Release
Deploy your project to the server: Deploy
If you are using Mailgun…
Check the mailgun domain to make sure the DNS records are set-up correctly.
Send a test email to your site e.g.
Log into your cloud server and check the email was received e.g:
ssh drop-temp sudo -i -u web hatherleigh_info.sh shell
from mailgun_incoming.models import IncomingEmail for mail in IncomingEmail.objects.all().order_by('-id'): print(mail.subject, mail.body_plain)
Create an SSL certificate: Create SSL Certificate.
Read any emails using your mail client - or for Mailgun - the python code in the previous step.
If using http://www.startssl.com/ then send emails to
Copy the SSL certificate to the server: Install SSL Certificate
After installing the certificate, run a
salt 'drop-temp' state.apply --state-verbose=False
for your server so the site is set-up correctly for SSL.