mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Tue 4 Apr 22:49:34 EEST 2023
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
6bd017c1e8
commit
14dfa32835
1 changed files with 10 additions and 14 deletions
24
README.md
24
README.md
|
@ -1,4 +1,4 @@
|
||||||
# [Ari-web blogs](https://blog.ari-web.xyz/)
|
# [ari-web blogs](https://blog.ari-web.xyz/)
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://img.shields.io/badge/Maintained-Yes-green?color=red&style=flat-square">
|
<img src="https://img.shields.io/badge/Maintained-Yes-green?color=red&style=flat-square">
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<a href="https://app.netlify.com/sites/blog-ari-web/deploys"><img src="https://api.netlify.com/api/v1/badges/bbd7d670-9152-41a8-8c99-df57e4669606/deploy-status"></a>
|
<a href="https://app.netlify.com/sites/blog-ari-web/deploys"><img src="https://api.netlify.com/api/v1/badges/bbd7d670-9152-41a8-8c99-df57e4669606/deploy-status"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Installing dependencies
|
## installing dependencies
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ python3 -m virtualenv venv
|
$ python3 -m virtualenv venv
|
||||||
|
@ -26,23 +26,23 @@ Or
|
||||||
$ python3 -m pip install --user -r requirements.txt
|
$ python3 -m pip install --user -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
## Completions
|
## completions
|
||||||
|
|
||||||
- Bash
|
- bash
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ . completions/blog.bash
|
$ . completions/blog.bash
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## building
|
||||||
|
|
||||||
- Generate full-on static site
|
- generate full-on static site
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ CI=1 ./scripts/blog static
|
$ CI=1 ./scripts/blog static
|
||||||
```
|
```
|
||||||
|
|
||||||
- Only build blogs
|
- only build blogs
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ CI=1 ./scripts/blog static
|
$ CI=1 ./scripts/blog static
|
||||||
|
@ -55,11 +55,7 @@ in that context, for example sorting blogs.
|
||||||
|
|
||||||
`CI` can have any value.
|
`CI` can have any value.
|
||||||
|
|
||||||
## The API
|
## the API
|
||||||
|
|
||||||
Nobody is stopping you from using the static API,
|
- <https://blog.ari-web.xyz/b/ari-web-blog-api-change/>
|
||||||
it's located at [/blog.json](https://blog.ari-web.xyz/blog.json), also if you're using
|
- <https://blog.ari-web.xyz/b/ari-web-apis--how-to-use-them/>
|
||||||
this API generally, this API is **extremely** large, so
|
|
||||||
I implemented cache validation, just cache it,
|
|
||||||
including the sha256 hash and validate it with
|
|
||||||
the [hash on the api](https://blog.ari-web.xyz/blog_json_hash.txt)
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue