Site web de Radio Brony
https://radiobrony.fr
Deploy to test / Deploy to test (push) Successful in 2m9s
Details
Reviewed-on: #43 |
||
---|---|---|
.forgejo/workflows | ||
.vscode | ||
assets | ||
components | ||
pages | ||
plugins | ||
public | ||
server/routes | ||
store | ||
.gitignore | ||
LICENSE | ||
README.md | ||
app.vue | ||
error.vue | ||
nuxt.config.ts | ||
package.json | ||
renovate.json | ||
tsconfig.json | ||
yarn.lock |
README.md
Radio Brony - Nuxt website
Site web de Radio Brony
Setup and development
# Deps
yarn
# Dev
yarn dev
# Build
yarn build
# Preview build
yarn preview
# Deploy on server with Supervisor
git pull && yarn && yarn build && supervisorctl restart rb-nuxt
Look at the nuxt 3 documentation to learn more.
Supervisor config
This is an example.
We source our .bashrc
to load nvm
and our environment properly.
[program:rb-nuxt]
environment=NITRO_PORT=8008,HOME="/home/radiobrony"
command=/bin/bash -c "source /home/radiobrony/.bashrc && node index.mjs"
user=radiobrony
directory=/var/www/rb-nuxt/.output/server