To rebuild the project for production environments, navigate build style, go to the folder named "MP2/ folder " and execute run the buildfrontend-styling.cmd script (Not the buildfrontend.cmd script, as it used to be in pre 4.11.0 versions).
Warning | ||
---|---|---|
| ||
You must have installed the necessary software requirements for this to work. Look in the styling requirements document for information in how to install this. |
...
Info |
---|
The |
Warning | ||
---|---|---|
| ||
If the path to buildfrontend-styling.cmd cannot contain any spaces contains spaces, the program will fail. |
If the compile and optimization step is completed successfully, the result should everything has been done by the book, the result will look similar to this:
One last step is access the web.config file and change the following variable.
...
The resulting main.css file, you find in ..\Digizuite Media Manager 4.x.y - include source\MP2\custom-styling\css.
This CSS file you copy into your site's ..\[your site's name]\MP2\dist\app\css folder - before doing this, you may optionally rename the existing main.css file to something like main.css.original, to make sure you have it as backup always.