Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM OroCRM – Programming Questions Oro require js training issue

This topic contains 2 replies, has 3 voices, and was last updated by Hryhorii Hrebiniuk Hryhorii Hrebiniuk 3 years ago.

  • Creator
  • #53836

    Hello Oro Team! I am a new in Oro Crm. I watched your webinars series. Now, I am try to repeat your webinar practice where you create history component using require js. I created the same bundle like this in branch history. I installed oro crm application through github. But this is not work for me. My js code don’t visible. Please give me some recommendation about this. Thank you ! :)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #53837

    Alexandr Smaga

    Hello @ant-workaholic !

    Did you try to run app/console assets:install --symlinks. It does a symlinks from files in your bundle to web/bundles/ folder, so after that they are visible from outside.

    Hryhorii Hrebiniuk
    Hryhorii Hrebiniuk


    Sorry for late response.

    About installation process. After you have cloned OroCRM

    First you need to do is to clone DemoUIControlBundle and switch it to history branch (see documentsion)

    And after that, do (if it is not done yet).

    If your project is already installed, it is no problem. Just do steps related to DemoUIControlBundle (clone and switch to required branch). And after run several commands:

    • clear all cached resources (including configuration files)
    • installs all assets in symlink mode, to make all changes available in web folder instantly
    • rebuild styles file
    • update frontend translation

    If you want to see you changes in prod mode you need also execute:

    • clear all cached resources for production mode
    • rebuild js file

    Thanks for your question.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.