Openedx本机安装:主题更改不起作用 [英] Openedx Native installation : theme change not working

查看:173
本文介绍了Openedx本机安装:主题更改不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Native installation方法安装了openx.现在,我想更改默认徽标.作为测试,我从文件夹/edx/app/edxapp/edx-platform/lms/static/images中删除了徽标. 但是当我打开localhost时,它仍然存在. (lms view).

I have installed openedx using Native installation method. Now I want to change the default logo. As a test, i removed the logo from the folder /edx/app/edxapp/edx-platform/lms/static/images. But when i open the localhost, its still there. (lms view).

在检查视图中,徽标名称显示为/static/images/logo.b6c374d66d57.png.

In inspect view, the logo name appears as /static/images/logo.b6c374d66d57.png.

devstack中执行相同的操作,徽标成功更改.

The same operation when I perform in devstack, The logo changes successfully.

我想念什么?

由于我使用的是默认主题,因此我认为不需要配置有关主题自定义的任何内容.

Since I am using the default theme, I think I don't need to configure anything regarding theme customization.

推荐答案

好吧,我在确定答案的同时发布了答案.也许对某人有帮助. 该应用程序是来自cache的服务数据,我不得不再次重新编译主题.以下是编译主题的步骤.

Ok, I am posting the answer as I figure it out. Maybe helpful for someone. The application was service data from cache and I had to recompile the theme again. Following are the steps to compile the theme.

sudo -u edxapp bash
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets lms --settings=aws

如果cms内容有变化,请执行

If there are changes in cms contents, execute

paver update_assets cms --settings=aws

这篇关于Openedx本机安装:主题更改不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆