Skip to content

Commit

Permalink
Updated to v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
GatlenCulp committed Sep 30, 2024
1 parent b5ac3c4 commit f5a2d7c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .vscode/homebrew-vivaria.code-workspace
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"folders": [
{
"path": "../../../../../Cellar/vivaria/0.1.0"
},
{
"path": "../../../../../../../Users/gat/work/mp4-tasks"
},
Expand All @@ -14,6 +11,9 @@
},
{
"path": "../../../../../../../Users/gat/.config/viv-cli"
},
{
"path": "../../../../../Cellar/vivaria/0.1.4"
}
],
"settings": {
Expand Down
11 changes: 3 additions & 8 deletions Formula/vivaria.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class Vivaria < Formula
# Stable release
url "https://github.com/GatlenCulp/vivaria.git",
using: :git,
tag: "v0.1.4",
revision: "c80bc6d1986d5c6ae9dc2264ca608dc686583cf0"
tag: "v0.1.5",
revision: "4ed7a79da3e79f9d48a43cb362ae272ec3259f72"
license "MIT"
# Development release
head "https://github.com/METR/vivaria.git",
Expand Down Expand Up @@ -204,12 +204,7 @@ def caveats
<<~EOS
Post-installation instructions:
1. Run the following command to set up Vivaria:
viv setup
This will prompt you for your OpenAI API key and configure it properly.
2. (Optional) If you want to start task environments containing aux VMs,
(Optional) If you want to start task environments containing aux VMs,
you'll need to configure AWS credentials. Run:
viv setup aws
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ viv task kill
23. To shut down the server, you just need to stop the images

```bash
docker compose down
viv docker compose down
```

24. And confirm there are no more active images
Expand Down Expand Up @@ -229,8 +229,14 @@ viv docker compose up --detach --wait --build
## 04 Known Issues

**ISSUE: Install failed due to docker**
```text
Error: An exception occurred within a child process:
RuntimeError: /opt/homebrew/opt/docker not present or broken
Please reinstall docker. Sorry :(
```
This may be fixed by running `brew link docker` and trying the installation again.


---
## 05 Developing and Maintaining this Formula

Expand Down Expand Up @@ -437,6 +443,7 @@ system "viv", "register-ssh-public-key", "#{ssh_key_path}.pub"
- [ ] Fix having to do `brew link docker` for each install. (Possibly only on my computer)
- [ ] Run viv setup automatically
- [ ] Make viv setup
- [ ] Look into docker buildx as a way of building the docker images

## 06 Contact the Maintainer

Expand Down

0 comments on commit f5a2d7c

Please sign in to comment.