forked from llmware-ai/llmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes llmware-ai#354
- Loading branch information
Christopher Harrison
committed
Jan 31, 2024
1 parent
f519ba4
commit 1005458
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
devcontainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
If you wish to use devcontainers for development in vscode. You will need to rename or create a symlink of this directory to .devcontainer and reload your window. This will trigger the an option to open the code in a container. Once the code is opened in a container you will be able to contribute like normally without having to install all the dependencies on your local system. Also, the development container provides access to your local home directory via the /code directory. | ||
|
||
quick how-to: | ||
run this command on linux from the root llmware: ln -s devcontainer .devcontainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "LLMWARE Dev", | ||
"build": { "dockerfile": "../Dockerfile" }, | ||
//"image": "provocoai/llmware:dev-01", | ||
|
||
// "runArgs": [ | ||
// "--name", | ||
// "${localWorkspaceFolderBasename}", // Container name | ||
// "-it", | ||
// "-l", | ||
// "com.docker.compose.project=devcontainers" // Container group name | ||
// ], | ||
"mounts" : [ | ||
//"source=${localWorkspaceFolder}/.vscode-server/,target=/root/.vscode-server/,type=bind,consistency=cached", | ||
"source=${localEnv:HOME},target=/code,type=bind,consistency=cached" | ||
], | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": { | ||
"dockerDashComposeVersion": "v2" | ||
}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"esbenp.prettier-vscode" | ||
] | ||
} | ||
} | ||
} |