Skip to content

gAlleb/nuxt-om

Repository files navigation

About

This is an omFM Radio website project. It offers 100% code customizability. No Customizer or Backend settings are available. Basic JS, Vue.js, HTML, CSS, and possibly some other skills are required for customization. There’s no drag-and-drop; only simple code. Centrifugo SSE events ready (channel suffix: "station:radio"), iTunes, Spotify coverart.

Version: v0.0.1

Available setups:

  • traditional hosting (SSG/npm generate)
  • node hosting (SSR/ npm run build)
  • Netlify, Vercel
  • Docker (Dockerimage + docker-compose.yaml included)

1

2

3

4

4

4

image

Modules

Following modules are installed:

Look at the Nuxt 3 documentation to learn more about Nuxt 3.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

Production For SSG

# npm
npm run generate

# pnpm
pnpm run generate

# yarn
yarn generate

How to deploy on traditional hosting (Plesk, cPanel, etc.)

After you run the generate command, you will have a .output folder that contains public, server and a nitro.json. All you need is to copy the folders and files inside the .output/public and paste it in your domain directory to deploy your application.

How to deploy on modern hosting (Netlify, Vercel, etc.)

Look at the Nuxt 3 documentation to learn more.

Production (For Advanced Users)

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

Check out the deployment documentation for more information.

Production with docker:

docker compose up -d

About

omFM Radio website example/template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published