-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbda0d5
commit b468c63
Showing
2 changed files
with
59 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,5 @@ | ||
FROM gitpod/workspace-full:legacy-dazzle-v1 | ||
|
||
RUN bash -c ". .nvm/nvm.sh && nvm install lts/fermium && nvm use lts/fermium && nvm alias default lts/fermium" | ||
|
||
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix |
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,54 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
- name: frontend | ||
init: | | ||
make sign-off | ||
npm install | ||
npm run build | ||
cp -R build package/kedro_viz/html | ||
command: | | ||
gp sync-done build_complete | ||
DANGEROUSLY_DISABLE_HOST_CHECK=true npm run start | ||
- name: backend | ||
before: echo PIP_USER=no >> ~/.bashrc && export PIP_USER=no | ||
init: | | ||
pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt --user | ||
pip install https://github.com/kedro-org/kedro/archive/main.zip --no-deps --user --force-reinstall | ||
command: | | ||
gp sync-await build_complete | ||
pip install -e package --no-deps | ||
gp sync-done kedro_installed | ||
make run | ||
- name: demo-project | ||
command: | | ||
cd demo-project | ||
gp sync-await kedro_installed | ||
kedro info | ||
ports: | ||
- port: 4141 | ||
onOpen: open-browser | ||
visibility: public | ||
- port: 4142 | ||
onOpen: ignore | ||
|
||
vscode: | ||
extensions: | ||
- dbaeumer.vscode-eslint | ||
|
||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true) | ||
addComment: false | ||
# add a "Review in Gitpod" button to pull requests (defaults to false) | ||
addBadge: true |