Starting miyagi
Installed as a dev dependency:
node node_modules/@miyagi/core start
or
npm run miyagi start
or
yarn miyagi start
Installed globally:
miyagi start
This will serve miyagi at http://localhost:5000
.
You can change the port with:
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.