Skip to content

Running in VSCode Remote Container

Andrew Johnston edited this page Oct 30, 2020 · 2 revisions

Support has been added for VSCode Remote Containers, which should allow running/building the source in VSCode on Windows/Linux/Mac with docker.

Installing and Using VSCode Remote Containers

  1. Install and Enable the VSCode Remote Containers Extension
  2. Clone the Repo:
git clone [email protected]:just-js/just.git
  1. Open the newly created "just" folder in VSCode
  2. You should be prompted like this

  1. Select "Reopen In Container"
  2. Open A Terminal in the VSCode project
  3. Build the runtime
make runtime
  1. You should have a "just" binary in the working directory

Building the "Builder" runtime

  1. Open a Terminal in VSCode
  2. Build the runtime-builder binary
JUST_HOME=$(pwd) make runtime-builder

This will download and extract the latest modules into a directory called "modules" in the working directory. You can then build build all the modules as follows:

export JUST_HOME=$(pwd)
cd modules
./build.sh

or individually

export JUST_HOME=$(pwd)
cd modules/picohttp
make http.so
Clone this wiki locally