how to do that?

72 views
Skip to first unread message

amira reda

unread,
Jan 23, 2018, 9:21:49 AM1/23/18
to General Open edX discussion
hi,
please help me am  new in openedx platform  and i want my course page like this page in picture how to do that ?
enable feature or design?
thanks for all.

Terguun Zoregtiin

unread,
Jan 23, 2018, 2:04:27 PM1/23/18
to General Open edX discussion
I think you need to develop a custom theme, can look for comprehensive theming in the doc

在 2018年1月23日星期二 UTC+8下午10:21:49,amira reda写道:

amira reda

unread,
Jan 24, 2018, 1:58:00 AM1/24/18
to edx-...@googlegroups.com
ok , can you help me in another task?
how to install ssl certificate for openedx?
free ssl certificate to try it.
thanks for all :)

--
You received this message because you are subscribed to a topic in the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/d6d09335-f15a-49ca-a898-b7dd346f6a19%40googlegroups.com.

Ibo Sy

unread,
Jan 25, 2018, 2:06:36 PM1/25/18
to General Open edX discussion
Have you used any ssl certificates before? For free ones, I recommend letsencrypt (https://letsencrypt.org/) - they are quick and free, but:
- They are only valid for 90 days, so you need to rotate (automatically) more often.
- They use a acme-challenge process for authentication - you need to slightly modify your server to enable this.

edx uses nginx, lentsencrypt offers a tool called certbot to manage certs.

Now, it depends on whether you are installing a new server and want to enable ssl from the beginning, in which case there is an ansible playbook which should pick up the vars:
NGINX_ENABLE_SSL: true
NGINX_SSL_CERTIFICATE: '/mycert_chain.pem'
NGINX_SSL_KEY: '/mycert_key.pem'

I cannot find the proper documentation for this at the moment, but there should be a note somewhere. The configuration scripts/playbooks are here: https://github.com/edx/configuration

If you want to change a running server, I recommend to take a look at the following two resources:

Where the first one is edx fullstack specific, but the second one has a more extensive ssl config.
Note that both are not usable for your case without further modification! It's just a reference. The important parts:
- nginx config files: /etc/nginx/sites-enabled/lms and /etc/nginx/sites-enabled/cms
- add a ssl listen to your server 
listen   443 ssl;

- provide cert and key 
ssl_certificate /full/path/fullchain.pem;
ssl_certificate_key
/full/path/privkey.pem;

- setup your challenge dir and serve it (
location ~ /.well-known {
    allow all;
    root /
var/www/letsencrypt;
 
}


Process-wise, you need to go backwards - first setup the challenge dir, reload nginx, use certbot to get a certificate, then enable it in nginx and reload. (You cannot reload the nginx config if there is an error, eg. cert file not found. You can always test your config with sudo nginx -t)

Finally, once you have it running, don't forget about the renewal.
Message has been deleted

Ibo Sy

unread,
Jan 25, 2018, 2:09:46 PM1/25/18
to General Open edX discussion
PS: I forgot there was a PR on some automation for this, which might be useful to look at: https://openedx.atlassian.net/browse/OSPR-1394

amira reda

unread,
Jan 25, 2018, 2:14:41 PM1/25/18
to General Open edX discussion
Thanks very much for you 🙂
I will try this.
Another help please, what is the difference between courseware tab and course tab?

Ned Batchelder

unread,
Jan 25, 2018, 4:59:10 PM1/25/18
to edx-...@googlegroups.com
Amira, for the benefit of others, it's best to start a new topic for each new problem.  Put a short description in the subject.  This will make it easier for people to find the discussions they need.

Thanks,

--Ned.


--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/5346834b-6f16-4574-a37d-4f09cc656773%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages