Deno Setup with Gitpod
What id Gitpod?
Gitpod can provide fully initialized, perfectly set-up developer environments for any kind of software project.
What is Deno?
A modern runtime for JavaScript and TypeScript.
Deno ships as a single executable with no dependencies. You can install it.
Let see how you can install deno in Gitpod
Setting up the Dockerfile
Add a Dockerfile to your project as .gitpod.Dockerfile:
FROM gitpod/workspace-ful
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \
echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \
echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-denol
And configure this Dockerfile in your .gitpod.yml:
image:
file: .gitpod.Dockerfile