mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-24 00:58:04 +01:00
Update docs
This commit is contained in:
parent
91d71094cd
commit
78681e146d
2 changed files with 3 additions and 13 deletions
|
@ -1,10 +1,6 @@
|
||||||
# Blog
|
# Checkout
|
||||||
|
|
||||||
Simple blog management system.
|
Simple interface to register baskets.
|
||||||
|
|
||||||
The authoritative source for this repo is at https://git.augendre.info/gaugendre/blog
|
|
||||||
|
|
||||||
Hosted at https://gabnotes.org
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
```shell
|
```shell
|
||||||
|
|
8
tasks.py
8
tasks.py
|
@ -43,12 +43,6 @@ def pre_commit(ctx: Context) -> None:
|
||||||
ctx.run("pre-commit run --all-files", pty=True)
|
ctx.run("pre-commit run --all-files", pty=True)
|
||||||
|
|
||||||
|
|
||||||
@task
|
|
||||||
def mypy(ctx: Context) -> None:
|
|
||||||
with ctx.cd(BASE_DIR):
|
|
||||||
ctx.run("pre-commit run --all-files mypy", pty=True)
|
|
||||||
|
|
||||||
|
|
||||||
@task(pre=[pre_commit, test_cov])
|
@task(pre=[pre_commit, test_cov])
|
||||||
def check(ctx: Context) -> None:
|
def check(ctx: Context) -> None:
|
||||||
pass
|
pass
|
||||||
|
@ -80,7 +74,7 @@ def check_alive(ctx: Context) -> None:
|
||||||
exception = None
|
exception = None
|
||||||
for _ in range(5):
|
for _ in range(5):
|
||||||
try:
|
try:
|
||||||
res = requests.get("https://gabnotes.org")
|
res = requests.get("https://checkout.augendre.info")
|
||||||
res.raise_for_status()
|
res.raise_for_status()
|
||||||
print("Server is up & running")
|
print("Server is up & running")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue