skip to Main Content

I would like to install the static files from a command prompt.

I type in cmd

cd C:/xampp/htdocs/magento. 

Inside the directory I type the command

php bin/magento setup:static-content:deploy de_DE

Which gives me:

could not be found.

Can anyon give me an advice on this?

2

Answers


  1. Add php to PATH variable, or use absolute path for php like :
    C:xamppbinphpphp5.6.31php bin/magento setup:static-content:deploy de_DE

    Login or Signup to reply.
  2. use : /opt/lampp/bin/php bin/magento s:static-content:deploy -f

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search