Skip to content

UserJHansen/Virus-Modelling-in-Deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All-In-One Command

 mkdir output; deno run --allow-write https://raw.githubusercontent.com/UserJHansen/Virus-Modelling-in-Deno/master/index.js; pip install matplotlib numpy; curl https://raw.githubusercontent.com/UserJHansen/Virus-Modelling-in-Deno/master/jsoninterpretter/index.py -o jsoninterpretter.py; python jsoninterpretter.py

Requirements

Compilation

Windows

deno compile --unstable --allow-all --lite --output VirusSimulation --target x86_64-pc-windows-msvc index.js

Mac (x64)

deno compile --unstable --allow-all --lite --output VirusSimulation --target x86_64-apple-darwin index.js

Mac (M1)

deno compile --unstable --allow-all --lite --output VirusSimulation --target aarch64-apple-darwin index.js

Linux

deno compile --unstable --allow-all --lite --output VirusSimulation --target x86_64-unknown-linux-gnu index.js

Web and NodeJS

deno bundle index.js > NodeJs.js

Graph Generation

pip3 install matplotlib numpy; python3 jsoninterpretter/index.py