Opine is a web framework designed to run on top of Deno runtime. As a result, we need to install Deno runtime on our local machine first before being able to use Opine framework. To download and install Deno runtime, we can follow the instructions on Deno's website here: download and install Deno.

 

To easily create a bare bone Opine web application, we need to install Opine CLI by writing code on the Terminal window as below:

 

deno install -f -q --allow-read --allow-write --allow-net --unstable https://deno.land/x/opinecli@2.0.0/opine-cli.ts

 

To create a bare bone Opine application, we need to write code on Terminal window as below:

 

opine-cli opine-job && cd opine-job

 

To run our new created Opine web application, we could write the command as below:

 

deno run --allow-net --allow-read --allow-env mod.ts

 

 

GitHub: https://github.com/Sokhavuth/opine-job 

Deno Deploy: https://khmerweb-job.deno.dev