How to use the DevContainer
VSCode usage:
- [optionally] Set NEXUS_AUTH_TOKEN environment variable:
export NEXUS_AUTH_TOKEN=`node -p 'btoa("<w3 login>:<password>")'`
- Install https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
- Run
Dev Containers: Reopen in containercommand in vscode
Use from terminal:
docker build -t idlize-dev --build-arg NEXUS_AUTH_TOKEN='<my _auth>' tools/devcontainer
docker run -it --mount type=bind,source=<path-to-idlize-repo>,target=/idlize idlize-dev
NEXUS_AUTH_TOKEN can be generated by running
node -p 'btoa("<w3 login>:<password>")'