Skip to content

Commit

Permalink
weave_server*.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong committed Aug 22, 2024
1 parent ed363fc commit 24cbb80
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
# github actions does something funky with the std file descriptors, they end up
# being closed. tqdm (for example) raises an exception when the descriptor it
# wants to write to is closed.
run: nohup ./weave_server_test.sh < /dev/null &> /tmp/weave/log/stdout.log &
run: nohup ./scripts/weave_server_test.sh < /dev/null &> /tmp/weave/log/stdout.log &
shell: bash
- name: Cypress run
# Use the following to run just a single test
Expand Down
3 changes: 1 addition & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ yarn dev
Weave backend server. This does not currently auto-reload, so you need to restart it if you change stuff.

```
sh weave_server.sh
sh scripts/weave_server.sh
```

Now you should be able to go to localhost:3000 to see the weave home page.
Expand All @@ -92,7 +92,6 @@ You can tell everything is working if the weave UI renders and you see your serv

Some ops require environment variables to be set, like OPENAI_API_KEY. You need to set these for the server environment and your Jupyter notebook.


## Unit tests

Some of the unit tests try to run a wandb server container, and will produce 403s if that container is out of date. The container is only accessible to wandb developers currently.
Expand Down
2 changes: 1 addition & 1 deletion integration_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ yarn && yarn run cypress open

Start the weave server with

bash weave_server_test.sh
bash scripts/weave_server_test.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stopasgroup = true
killasgroup = true

[program:weave-python-server]
command = bash ./weave_server_test.sh
command = bash ./scripts/weave_server_test.sh
directory = .
autostart = true
autorestart = false
Expand Down
2 changes: 1 addition & 1 deletion weave-js/src/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,5 +424,5 @@ See [generateDocs.ts](./generateDocs.ts) for implementation.

# Testing Against Weave Python

1. Start a Weave Server using `./weave_server.sh` from the `weave/weave` directory
1. Start a Weave Server using `./scripts/weave_server.sh` from the `weave/weave` directory
2. Run `yarn test:python-backend` from this directory

0 comments on commit 24cbb80

Please sign in to comment.