Open XAMPP project folder
Content XAMPP project folder
A JS package is a folder where, after selecting Command – Publish / Distribute and clicking! https://manula.r.sizr.io/large/user/14418/img/menu-commands-publish.png! all folders and files are collected for upload to a server to view the book in a browser.
- Local server
In order to be able to test a “project”, the data must be located on a server.
You can always upload all (or at least the changed) data to the “real” server. This does not only cost “Internet traffic” but also time. In addition, the project should be located in its own test area on the server, which requires additional storage space on the server.
Therefore, it makes sense to set up a local server on your own computer. We recommend the open source package XAMPP (see XAMPP: Local Server).
- XAMPP project folder
In order to make a test cycle fast and comfortable, created JS packages can be saved in the “correct” folder, i.e. in a subfolder of XAMPP/htdocs and the project/book-name as name.
That path is defined in the Basic Settings:
Immediate access to this XAMPP project folder is provided either directly after the creation of the JS package (i.e. after a “publish” process) using the button or via the menu item described in this chapter:
Info - Show XAMPP Files.
Experienced users have direct access to the configuration files created and used by MegaZine3 and mz3Tool and the contents of the Mz3 book.
- Display in the browser
If a JS package was created in the XAMPP folder, the book can be opened in the “Publish window” via the button. If the local server is running (the XAMPP server must be started specifically via the XAMPP Control Panel), the book is displayed immediately. The browser used is the browser defined currently as the “default browser”.
If you see this error message in the browser (this is the German message, but you will understand ;-):
Then you should check if the local XAMPP server is running!
Only if the status info in the control panel indicates that the local server is running, the Mz3 book can be shown locally in the browser!