Starting miyagi
Installed as a dev dependency:
npm run miyagi start
or
yarn miyagi start
Installed globally:
miyagi start
This will serve miyagi at http://localhost:5000. If you already have another miyagi instance or some other application running at port 5000, miyagi will automatically try to find another free port.
Changing the port
PORT=<port> miyagi start
NOTE: Setting the NODE_ENV is optional (default is development), but it allows you to serve different assets based on your configuration.