8000 GitHub - pi0/nuxt-on-pi
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pi0/nuxt-on-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt on PI

Nuxt hosted on a Raspberry Pi Zero 2W board. (tweet)

⚡️ Live URL: https://pizero.pi0.io

Development

Install bun

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

bun dev

Production

First time setup

Install bun on your board

Setup cloudflare tunnel on your board and map to http://localhost:3000 (learn more)

Deploy

Build app for production from your PC:

bun build --preset bun

Copy .output directory to your board:

rsync -Lavz .output/ user@ip:app

Optionally install and run tmux or screen

Start bun server:

bun --watch app/server/index.mjs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published
0