Regenerate web resources

Discuss Technical Queries about OrangeHRM
Post Reply
ciuc
Posts: 2
Joined: Thu Aug 23, 2018 7:27 am

Regenerate web resources

Post by ciuc » Thu Aug 23, 2018 7:31 am

Hi,

I have installed the orange hrm open source.

I made some modifications (like disable password validation rules) in some .js file (i.e. addEmployeeSuccess.js)

How do I regenerate the web resources? (the ones in www/site/orangehrm/symfony/web/webres_5acde3dbd3adc6.90334155/

Thanks,
C

ciuc
Posts: 2
Joined: Thu Aug 23, 2018 7:27 am

Re: Regenerate web resources

Post by ciuc » Thu Aug 23, 2018 12:29 pm

Found the answer: no need to regenerate the resources. One can actually modify directly in the webres folder. Javascript files are not minified or anything.


damithk
Posts: 5
Joined: Thu Aug 29, 2019 1:58 pm

Re: Regenerate web resources

Post by damithk » Fri Sep 20, 2019 12:20 pm

Hi ciuc,
you may run following command from the symfony directory to regenerate the web resources.

Code: Select all

php symfony orangehrm:publish-assets

Post Reply