-
Notifications
You must be signed in to change notification settings - Fork 23
feat: add devcontainer #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
dd3d919
cb7fde9
3049d69
ebcfcb2
8f1b13e
ae2391e
d6f7fb0
aabac05
bf5e6d5
11fd8c8
e9928f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. | ||
{ | ||
"name": "Snakemake-Tutorial", | ||
"build": { | ||
"context": "..", | ||
"dockerfile": "../Dockerfile" | ||
}, | ||
"postCreateCommand": "bash .devcontainer/setup.bash" | ||
} |
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,14 @@ | ||||||||||||||||||
#!/usr/bin/env bash | ||||||||||||||||||
# abort on error, undefined vars, and failed pipelines | ||||||||||||||||||
set -euo pipefail | ||||||||||||||||||
|
||||||||||||||||||
rm -f Dockerfile .gitpod.yml && rm -rf .github .devcontainer | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don’t
-rm -f Dockerfile .gitpod.yml && rm -rf .github .devcontainer
+rm -f Dockerfile .gitpod.yml && rm -rf .github 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||
echo -e "# Snakemake-Tutorial\n\nYour gitpod workspace for the snakemake-tutorial has been initialized. Now you can start with the [basic tutorial](https://snakemake.readthedocs.io/en/stable/tutorial/basics.html)." > README.md | ||||||||||||||||||
echo "*" > .gitignore | ||||||||||||||||||
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Overwrites & then hides almost everything Consider either:
Example: -echo "*" > .gitignore
+cat > .gitignore <<'EOF'
+*
+!*.md
+!.devcontainer/**
+EOF 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||
conda init | ||||||||||||||||||
set +u | ||||||||||||||||||
source ~/.bashrc | ||||||||||||||||||
set -u | ||||||||||||||||||
|
||||||||||||||||||
echo 'conda activate snakemake-tutorial' >> ~/.bashrc | ||||||||||||||||||
echo "Setup done" |
Uh oh!
There was an error while loading. Please reload this page.