Where to set the file permissions on the themes directory.

38 views
Skip to first unread message

Chandrashekhar Patil

unread,
May 3, 2018, 9:50:39 AM5/3/18
to General Open edX discussion
Hi,

I have installed open edx on AWS instance. I want to use themes for the this installation. I have created a theme folder inside edx-platform folder.
So now i want to set up permission for theme directory. So, where shall i execute below cmd, in which window (directory).

sudo chown -R edxapp:edxapp /prudTheme
sudo chmod -R u+rw /prudTheme
Where, 
prudTheme is my theme directory.
Please guide.

Ernesto Sanchez

unread,
May 3, 2018, 12:16:55 PM5/3/18
to General Open edX discussion
Hi, 

1. Create a directory under /edx/app/edxapp/themes
2. Create a directory with your theme
3. Change the permission 
       chown -R edxapp:edxapp /edx/app/edxapp/theme/yourtheme
4. edit lsm.env.json and change this lines
     "COMPREHENSIVE_THEME_DIRS": [

        "/edx/app/edxapp/themes"

    ],

   

"DEFAULT_SITE_THEME": "yourtheme",


"ENABLE_COMPREHENSIVE_THEMING": true,


5. save and recompile the theme

    /edx/bin/edxapp-update-assets-{lms/cms}

6. Restart the service

    /edx/bin/supervisorctl restart edxapp:

Chandrashekhar Patil

unread,
May 3, 2018, 2:30:10 PM5/3/18
to edx-...@googlegroups.com
Hello  Ernesto,

Are you there?


Regards,
Chandrashekhar Patil

--
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/912870aa-598b-4318-8c07-0c73b956956d%40googlegroups.com.

Chandrashekhar Patil

unread,
May 5, 2018, 8:12:43 AM5/5/18
to edx-...@googlegroups.com
Hello Ernesto,

I followed your method and everything was working well.
Suddenly i have started getting error following error while compiling the theme:

"build failed running pavelib.assests.updae_assests:subprocees rerutn code :1"

Please guide

Regards,
Chandrashekhar Patil

On Thu, May 3, 2018 at 9:46 PM, Ernesto Sanchez <sber...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.

Ernesto Sanchez

unread,
May 7, 2018, 11:34:07 AM5/7/18
to General Open edX discussion
Share you log error complete.

Chandrashekhar Patil

unread,
May 8, 2018, 12:28:08 AM5/8/18
to edx-...@googlegroups.com
Thanks brother, but it is working now.

Regards,
Chandrashekhar Patil

Reply all
Reply to author
Forward
0 new messages