Skip to content
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

Update publishing smoke testing instructions #1245

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/internal/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ After you've submitted the PR which bumps the version and then [publish a GitHub

### Dev CLI

Run the following command but replace `0.1.0rc1` with the version that you just published:
Run the following command but replace `1.0.0` with the version that you just published:

```sh
uvx mesop==0.1.0rc1 scripts/smoketest_app/main.py
cd scripts/smoketest_app/ && uvx mesop==1.0.0 main.py
```

This will start the Mesop dev server and you can test that hot reload works. Double-check that the version shown is the version that you just released.

### Gunicorn integration

Run the following command but replace `0.1.0rc1` with the version that you just published:
Run the following command but replace `1.0.0` with the version that you just published:

```sh
cd scripts/smoketest_app/ && uvx --with mesop==0.1.0rc1 gunicorn@latest main:me
cd scripts/smoketest_app/ && uvx --with mesop==1.0.0 gunicorn@latest main:me
```

This will launch Mesop under the Gunicorn server so you can make sure it works as expected.
Expand Down
Loading