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-playercan 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 installServe the app with hot reload on your localhost
pnpm run devThis runs nuxt generate --devtools && nuxt start which starts a nuxt server for the static content, but with vue-dev-tools enabled.
pnpm run debugGenerates and deploys static site to dnbradio.com/player-${branch_name}. Based on the current branch you have checked out.
pnpm run generate
pnpm run uploadGenerates and deploys static site to dnbradio.com/player
pnpm run generate-prod
pnpm run upload-prod