GitHub: https://github.com/Sokhavuth/opine-job
Deno Deploy: https://khmerweb-job.deno.dev
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 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
After Opine CLI was installed, we can create a bare bone or boilerplate Opine application by writing command on Terminal window as below:
opine-cli opine-job && cd opine-job
To run our application, we need to write the command:
deno run --allow-net --allow-read --allow-env mod.ts
Top comments (0)