Note: Please ignore server components found in
./server/
and also ignore any proxy definitions found in thenuxt.config.js
. They are deprecated.
A production instance of
dnbradio-player
can be found here: https://dnbradio.com/player
Screenshot:
See env.example for environment variables to get you started.
# .env
NODE_PORT=9000
NODE_HOST=0.0.0.0
NODE_ENV=development
pnpm run install
Serve the app with hot reload on your localhost
pnpm run dev
This runs nuxt generate --devtools && nuxt start
which starts a nuxt server for the static content, but with vue-dev-tools enabled.
pnpm run debug
Generates and deploys static site to dnbradio.com/player-${branch_name}
. Based on the current branch you have checked out.
pnpm run generate
pnpm run upload
Generates and deploys static site to dnbradio.com/player
pnpm run generate-prod
pnpm run upload-prod