2023-04-04 22:49:34 +03:00
|
|
|
# [ari-web blogs](https://blog.ari-web.xyz/)
|
2022-03-11 13:35:37 +02:00
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img src="https://img.shields.io/badge/Maintained-Yes-green?color=red&style=flat-square">
|
|
|
|
<img src="https://img.shields.io/github/last-commit/TruncatedDinosour/blog.ari-web.xyz?color=red&style=flat-square">
|
|
|
|
<img src="https://img.shields.io/github/repo-size/TruncatedDinosour/blog.ari-web.xyz?color=red&style=flat-square">
|
|
|
|
<img src="https://img.shields.io/github/issues/TruncatedDinosour/blog.ari-web.xyz?color=red&style=flat-square">
|
|
|
|
<img src="https://img.shields.io/github/stars/TruncatedDinosour/blog.ari-web.xyz?color=red&style=flat-square">
|
|
|
|
</p>
|
|
|
|
|
2022-04-07 22:36:48 +03:00
|
|
|
<p align="center">
|
|
|
|
<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>
|
2022-03-11 13:46:45 +02:00
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
## installing dependencies
|
2022-03-11 13:35:37 +02:00
|
|
|
|
2022-04-02 20:43:37 +03:00
|
|
|
```sh
|
|
|
|
$ python3 -m virtualenv venv
|
|
|
|
$ . venv/bin/activate
|
|
|
|
$ pip install -r requirements.txt
|
|
|
|
```
|
|
|
|
|
|
|
|
Or
|
|
|
|
|
2022-03-11 13:35:37 +02:00
|
|
|
```sh
|
|
|
|
$ python3 -m pip install --user -r requirements.txt
|
|
|
|
```
|
2022-04-07 22:32:55 +03:00
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
## completions
|
2022-04-07 22:32:55 +03:00
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
- bash
|
2022-04-07 22:32:55 +03:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ . completions/blog.bash
|
|
|
|
```
|
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
## building
|
2022-04-07 22:32:55 +03:00
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
- generate full-on static site
|
2022-04-07 22:32:55 +03:00
|
|
|
|
|
|
|
```bash
|
2022-06-12 10:25:37 +03:00
|
|
|
$ CI=1 ./scripts/blog static
|
2022-04-07 22:32:55 +03:00
|
|
|
```
|
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
- only build blogs
|
2022-04-07 22:32:55 +03:00
|
|
|
|
|
|
|
```bash
|
2022-06-12 10:25:37 +03:00
|
|
|
$ CI=1 ./scripts/blog static
|
2022-04-07 22:32:55 +03:00
|
|
|
```
|
|
|
|
|
2022-06-12 10:25:37 +03:00
|
|
|
`CI` environment variable is optional,
|
|
|
|
though setting it in a build/CI environment is good
|
2022-04-07 22:32:55 +03:00
|
|
|
to save time on some operations that are useless
|
|
|
|
in that context, for example sorting blogs.
|
|
|
|
|
2022-06-12 10:25:37 +03:00
|
|
|
`CI` can have any value.
|
2022-06-01 16:19:08 +03:00
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
## the API
|
2022-06-01 16:19:08 +03:00
|
|
|
|
2023-04-04 22:49:34 +03:00
|
|
|
- <https://blog.ari-web.xyz/b/ari-web-blog-api-change/>
|
|
|
|
- <https://blog.ari-web.xyz/b/ari-web-apis--how-to-use-them/>
|