Home > Forums > Programming Questions > Beginner question : install assets

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Willy 1 week, 4 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38715

    Paolo13
    Participant

    Hi everyone !

    I’m a beginner on Symfony and on Akeneo. When searching for help in order to solve 1 issue i had, someone on github was advising to execute :

    rm -Rf ./app/cache/* ./web/bundles/* ./web/css/* ./web/js/*
    php app/console pim:install:asset -e=prod
    php app/console assets:install –symlink web

    First line OK, I get it : remove all assets before building it again.
    My question is about line 2 & 3 -> what’s the difference between the pim assets and the symfony assets ? (if line number 3 is for symfony assets). And why not “-e prod” for this last command ?

    Thanks for your help and sorry if that’s a stupid question :)

    #42957

    Willy
    Moderator

    Hi Paolo !

    First of all sorry for the delay and there is no stupid question 😀

    If you have a look to the command in the code https://github.com/akeneo/pim-community-dev/blob/master/src/Pim/Bundle/InstallerBundle/Command/AssetsCommand.php#L44 you can see that pim:installer:asset run the assets:install with others command like the oro navigation or the js router. pim:installer:asset runs all commands to clean and re-install assets from all our bundles.

    Kind regards,
    Willy

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

You must be logged in to reply to this topic.