A React based UI for moode
The webpack bundled site will be built into the ./dist
folder.
You can build the application locally using the command
npm run build
You can also start the application locally for development purposes using
npm start
Required to serve reqests outside of localhost Connect to your moode server, and in the files
/var/www/command/moode.php
/var/www/command/index.php
/var/www/engine-mpd.php
/var/www/engine-cmd.php
add the line
header("Access-Control-Allow-Origin: *");
Set the app server env variable
set APP_SERVER=http://moode.local
npm test
UI Component tests uses an internal Mock Server to serve API endpoint dependencies. The Mock server will be start on the port 8080.
npm run test:e2e