If you want to use this repo with Richie,
you need to enable TLS
on your development environment. Following instructions suppose that your development domain
is edx.local.dev
and you edited your etc/hosts
accordingly.
First you will need to install mkcert and its Certificate Authority. mkcert is a little util to ease local certificate generation.
- Read the doc
- Linux users who do not want to use linuxbrew : read this article.
mkcert -install
If you do not want to use mkcert, you can generate CA and certificate with openssl. You will have to put your certificate and its key in the
docker/files/etc/nginx/ssl
directory and name themedx.local.dev.pem
andedx.local.dev.key
.
To generate the certificate with mkcert and update Nginx configuration, run:
bin/setup-ssl
If you do not want to use mkcert, read instructions above to generate OpenEdx certificate then run
bin/setup-ssl --no-cert
instead.
If you want to use OpenEdx Dogwood or Eucalyptus releases, you have to enable the mobile rest API to work with Richie.
FEATURES['ENABLE_MOBILE_REST_API'] = True
Finally start apps over SSL with make run-ssl
.
You can still run apps without SSL using make run
.