You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jaime A. Rodriguez edited this page Sep 29, 2020
·
1 revision
SleepyMUSTACHE was designed for the developer. It comes preconfigured to automate many complicated tasks such as setting us a development environment including both the webserver and the MySQL database, linting and compiling JS and SCSS files using WebPack, minifying and concatenating JS and CSS, and optimizing images using OptiPNG. In order for these processes to work, it uses both Node and Docker.
To install Node, go to the website and download the installer. SleepyMUSTACHE will work on multiple versions of NodeJS but at the time of this release, we recommend v11.15.0.
to install Docker, go to the website, and download the latest release. The installer will set up Docker to work with sleepyMUSTACHE.
After those two dependencies are installed, you can use the NPM script to start the development server:
npm run develop
This will use npm to download all the dependencies, set up apache and MySQL in docker, and open browser-sync. While the develop script is running, all your changes will automatically be linted, compiled, and the webpage refreshed.