sk-node / app.py
Ron Au
build(app): Add SvelteKit
6c12e37
raw
history blame
400 Bytes
import subprocess
subprocess.run("echo 'node version:' && node --version", shell=True)
subprocess.run("echo 'npm version:' && npm --version", shell=True)
subprocess.run("pwd && ls -al", shell=True)
subprocess.run("export PORT=7860", shell=True)
subprocess.run("npm run build --prefix app/build ", shell=True)
subprocess.run("node app/build", shell=True)
subprocess.run("pwd && ls -al", shell=True)