Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.25 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.25 KB

neue internet

a blog | HNS: https://blog.neuenet/ | DNS: https://blog.neuenet.com

Installation

Install Deno.

Development

# `unstable` flag is for `npm:feed` support: https://deno.com/blog/v1.25#experimental-npm-support
deno run --unstable --import-map=import_map.json --watch --allow-net --allow-read --allow-run --allow-write --no-prompt main.ts
# or
deno run --allow-all --import-map=import_map.json main.ts

Debugging

For UI debugging, add the debug class to <u-grid/>.

Production

# `unstable` flag is for `npm:feed` support: https://deno.com/blog/v1.25#experimental-npm-support
deno run --unstable --import-map=import_map.json --allow-net --allow-read --allow-run --allow-write --no-prompt main.ts --production

With pm2:

# `unstable` flag is for `npm:feed` support: https://deno.com/blog/v1.25#experimental-npm-support
pm2 start main.ts --interpreter="deno" --interpreter-args="run --unstable --import-map=import_map.json --allow-net --allow-read --allow-run --allow-write --no-prompt" --name "blog" -- start --production
pm2 save