Front-end website for trace.moe
docker run -it --rm -p 3000:3000 ghcr.io/soruly/trace.moe-www:latest
git clone https://github.com/soruly/trace.moe-www.git
cd trace.moe-www
npm install
npm run dev
Production build will generate a static website
npm run build
Serve the static website with
npm run start
Put this file to /etc/systemd/system/trace.moe-www.service
[Unit]
Description=trace.moe-www
Wants=network-online.target
After=network-online.target
[Service]
User=____
Group=____
WorkingDirectory=/home/____/project/trace.moe-www
Environment=NODE_ENV=production
ExecStart=/usr/bin/npm run start
Restart=always
[Install]
WantedBy=multi-user.target