Skip to content

neuenet/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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