TLDR: just looking for the code? Skip to the end.
Download Docker Desktop here.
Make sure Docker is running.
TLDR: just looking for the code? Skip to the end.
This document guides you through the setup of Docker and MySQL.
Why would you want to do it this way?
| // Style 1 | |
| // Export all manually | |
| // Good: Calling functions inside the module is convenient | |
| // Bad: module.exports becomes verbose and it's tedious to add new functions | |
| function a() { | |
| b() | |
| } |