Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [deploy]

The tag has no usage guidance.

44
votes
15answers
68k views

Magento2: Re generate css file in pub/static folder

I have installed Magento 2 and set developer mode, then I have installed one module that contains css and js files. The module works fine and css and js files are rendering from pub/static folder. Now ...
29
votes
7answers
35k views

magento2: how can i deploy my theme only

I was using this for deploy the content but it is taking too much time. php bin/magento setup:static-content:deploy then i figure out adding the language make fast but it still deploy all the ...
3
votes
2answers
3k views

Magento 2: Can't switch from developer to production: “Command returned non-zero exit code:”

I've seen two other threads with this issue but I have been unable to resolve it with the solutions provided. I've increased my memory limit to 1G in php.ini and I've set ini_set('memory_limit','2G')...
81
votes
6answers
12k views

What is the best deploy strategy?

Setting up a Magento store is not only a matter of developing self-installable extensions but requires also a lot of "manual entry" operations such as creating end editing attributes, categories, ...
8
votes
3answers
23k views

Fatal error “Allowed memory size” while run setup:static-content:deploy

I am trying to setup Magento 2.0 (community) in a WAMP server and I am getting the error below all the time while I run the command for deploy the assets static due to symlink issues at Windows ...
7
votes
3answers
15k views

Static content deploy issue

I am creating a custom theme. Now I added a css file, only for checkout page. css file call by default_head_block.xml at app/design/frontent/Amit/Customtheme/Magento_Checkout/layout/ <?xml ...
5
votes
1answer
450 views

What files/folder do not belong on production?

Some community members suggest that folders like downloader and dev don't belong on a production environment. Is there an official list somewhere? What else has no place on the production server?
3
votes
2answers
5k views

Magento 2, issue with getting “version” number in file paths

Not my first time to install Magento 2, but something strange this time. I have checked file permission, cleaned cache, deployed again. Files are created in pub/static in expected directories but ...
2
votes
2answers
2k views

how to speed up static content deploy for development

Especially after changing .html knockout js template files I have to always deploy static content with bin/magento setup:static-content:deploy <languages>. This makes development very slow. I ...
1
vote
1answer
4k views

Run Grunt deploy task -> Fatal error: Class 'Locale' not found

I NodeJs installed, I installed the Magento2 Grunt that works, but if I run the command "grunt deploy" it delete all from the folder pub/static/ but do not deploy and returns me the error below. Can ...
3
votes
4answers
395 views

Problem setup:upgrade with CSS

My Magento 2 not load CSS in frontend. If I do php bin/magento setup:static-content:deploy, the problem is solved and load perfectly, but when I do setup:upgrade, CSS not load again. I know that ...
3
votes
1answer
4k views

Magento 2 deploy static files for specific theme only [duplicate]

How to deploy static view files for single, specific theme only?
1
vote
1answer
290 views

pub/static/_requirejs is not being created in magento 2 version 2.2.4

i am trying to include slick plugin into magento 2 through custom theme by requirejs but pub/static/_requirejs folder + files are not being generated on code deploy. file structure is following: /app/...
1
vote
1answer
281 views

automatic generation of dir/files under pub/static not working

automatic generation of dir/files under pub/static not working. When i google about this find that i have to delete that file in which i did change and then run below given command. php bin/magento ...
0
votes
1answer
141 views

Magento broken after module disable

I have a huge problem with Magento on a live platform. I've disabled a few modules, which I don't use, via a command line. I've made it before already and had no problems with it. But now I can't ...