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

Setup uptime monitoring #57

Open
simonw opened this issue Nov 18, 2022 · 1 comment
Open

Setup uptime monitoring #57

simonw opened this issue Nov 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Nov 18, 2022

Following:

Need a mechanism that will alert me if the site breaks in the future. I didn't think I'd need this for a static site but it turns out it can still be broken by changes outside my control.

@simonw simonw added the enhancement New feature or request label Nov 18, 2022
@Lewiscowles1986
Copy link
Contributor

Lewiscowles1986 commented Nov 17, 2024

If you used playwright.config.js / ts; I think you could control the server via environment variable...

Then you can default to the values you've hard-coded in tests/test_datasette_lite.py, and change that to also have the same value cascade.

It actually looks like --base-url is an option https://playwright.dev/python/docs/test-runners#configure-base-url for the python pytest wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants