-
Notifications
You must be signed in to change notification settings - Fork 0
Add setup instructions and fix links to initial episodes #4
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
Empty file.
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,65 +1,40 @@ | ||
| --- | ||
| layout: page | ||
| title: Testing Setup | ||
| title: Setup | ||
| root: .. | ||
| --- | ||
|
|
||
| This directory contains scripts for testing your machine to make sure | ||
| you have the software you'll need for your workshop installed. To use | ||
| these scripts: | ||
| # Prerequisites | ||
|
|
||
| 1. Download [swc-installation-test-1.py](swc-installation-test-1.py). | ||
| This lesson assumes you have a fundamental understanding of working with the UNIX shell. If you don't, then we recommend you use the | ||
| [The Unix Shell lesson](https://swcarpentry.github.io/shell-novice/) provided by Software Carpentry before beginning this material. | ||
|
|
||
| 2. Run it from the shell: | ||
| # Required Software | ||
|
|
||
| ~~~ | ||
| $ python swc-installation-test-1.py | ||
| Passed | ||
| ~~~ | ||
| This lesson requires you to install [Pixi](https://pixi.prefix.dev/latest/) and [Node.js](https://nodejs.org/en) to get started. While | ||
| not necessary, it's also recommended that you have an IDE such as [VSCode](https://code.visualstudio.com/) installed for modifying the | ||
| files used in this lesson. | ||
|
|
||
| 3. Download [swc-installation-test-2.py](swc-installation-test-2.py). | ||
| However you install the software, once done you should be able to run the following commands: | ||
|
|
||
| 4. Run it from the shell: | ||
| ```command | ||
| pixi --version | ||
| ``` | ||
|
|
||
| ~~~ | ||
| $ python swc-installation-test-2.py | ||
| check virtual-shell... pass | ||
| ... | ||
| Successes: | ||
| ```output | ||
| pixi 0.62.2 | ||
| ``` | ||
|
|
||
| virtual-shell Bourne Again Shell (bash) 4.2.37 | ||
| ... | ||
| ~~~ | ||
| ```command | ||
| node --version | ||
| npm --version | ||
| ``` | ||
|
|
||
| If you see something like: | ||
| ```output | ||
| v24.12.0 | ||
| 11.6.2 | ||
| ``` | ||
|
|
||
| ~~~ | ||
| $ python swc-installation-test-2.py | ||
| check virtual-shell... fail | ||
| ... | ||
| check for command line shell (virtual-shell) failed: | ||
| command line shell (virtual-shell) requires at least one of the following dependencies | ||
| For instructions on installing an up-to-date version, see | ||
| http://software-carpentry.org/setup/ | ||
| causes: | ||
| check for Bourne Again Shell (bash) failed: | ||
| could not find 'bash' executable for Bourne Again Shell (bash) | ||
| For instructions on installing an up-to-date version, see | ||
| http://software-carpentry.org/setup/ | ||
| ... | ||
| ~~~ | ||
| You may see slightly different versions, but these are generally unlikely to cause issues following the lesson materials. | ||
|
|
||
| follow the suggestions to try and install any missing software. For | ||
| additional troubleshooting information, you can use the `--verbose` | ||
| option: | ||
|
|
||
| ~~~ | ||
| $ python swc-installation-test-2.py --verbose | ||
| check virtual-shell... fail | ||
| ... | ||
| ================== | ||
| System information | ||
| ================== | ||
| os.name : posix | ||
| ... | ||
| ~~~ | ||
| {% include links.md %} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, we're using pixi here?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the backend, I guess? I don't mind, necessarily, but I would say if we're not doing anything that would include ex-conda stuff, I think uv would be more familiar to people.
Edit: If you think most people there will be familiar with pixi, then just ignore this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also should add
pnpmas a requirement here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with switching to uv. Let me make that change here.