-
Notifications
You must be signed in to change notification settings - Fork 125
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.
- Install and Enable the VSCode Remote Containers Extension
- Clone the Repo:
git clone [email protected]:just-js/just.git
- Open the newly created "just" folder in VSCode
- You should be prompted like this
- Select "Reopen In Container"
- Open A Terminal in the VSCode project
- Build the runtime
make runtime
- You should have a "just" binary in the working directory
- Open a Terminal in VSCode
- 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