Skip to content

Commit

Permalink
codespace to 4gb
Browse files Browse the repository at this point in the history
  • Loading branch information
knaaptime committed Nov 22, 2024
1 parent 805b6e5 commit cf76ed1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,26 @@ tl;dr: I write in quarto and do my work in both python and R. But lots of people

## Install and Run

`pixi install`
To run locally:

- clone this repository, follow below

To run in codespaces:

- click the 'open in codespaces' button above
- crank the machine to 4gb (not strictly necessary but you'll want more than 2gb)
![VM size](docs/cores.png)

(not strictly necessary, but its better to launch jlab from inside the notebooks dir)

`cd notebooks`

`pixi install`

`cd notebooks` (not strictly necessary, but its better to launch jlab from inside the notebooks dir)
`pixi run jupyter lab`

if running in a codespace this starts a jupyter server on the VM's 'localhost'.
Open an existing notebook (or start a new one). When selecting a kernel, choose
'Existing jupyter server' and put in 127.0.0.1 as the host
'Existing jupyter server' and copy/paste the URL with token from the terminal

edit the notebooks as you like

Expand Down
Binary file added docs/cores.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf76ed1

Please sign in to comment.