Skip to content

Commit b3d9e4a

Browse files
committed
Add README
1 parent 77eef86 commit b3d9e4a

File tree

1 file changed

+35
-14
lines changed

1 file changed

+35
-14
lines changed

README.md

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
11
<!-- web assets -->
2+
23
[logo]: https://stackql.io/img/stackql-logo-bold.png "stackql logo"
34
[deploylogo]: https://stackql.io/img/stackql-deploy-logo.png "stackql-deploy logo"
45
[stackqlrepo]: https://github.com/stackql/stackql
56
[homepage]: https://stackql.io/
67
[docs]: https://stackql.io/docs
78
[blog]: https://stackql.io/blog
89
[registry]: https://github.com/stackql/stackql-provider-registry
10+
911
<!-- [readthedocs]: -->
12+
1013
[pypi]: https://pypi.org/project/stackql-deploy/
14+
1115
<!-- badges -->
16+
1217
[badge1]: https://img.shields.io/badge/platform-windows%20macos%20linux-brightgreen "Platforms"
1318
[badge2]: https://img.shields.io/pypi/v/stackql-deploy "PyPi Version"
1419
[badge3]: https://img.shields.io/pypi/dm/stackql-deploy "PyPi Downloads"
1520
[badge4]: https://img.shields.io/github/license/stackql/stackql "License"
21+
1622
<!-- github links -->
23+
1724
[discussions]: https://github.com/orgs/stackql/discussions
1825
[issues]: https://github.com/stackql/stackql-deploy/issues/new/choose
26+
1927
<!-- misc links -->
28+
2029
[twitter]: https://twitter.com/stackql
2130

2231
<!-- language: lang-none -->
@@ -36,23 +45,25 @@
3645
<p align="center">
3746

3847
<!-- [__Read the docs »__][readthedocs] -->
39-
[__PyPi__][pypi]
40-
[__Raise an Issue__][issues]
48+
49+
[**PyPi**][pypi]
50+
[**Raise an Issue**][issues]
4151

4252
</p>
4353
</div>
4454

4555
## About The Project
4656

47-
[__`stackql-deploy`__][pypi] is an open-source command line utility which implements a declarative, model driven framework to deploy and manage multi cloud stacks using [__`stackql`__][stackqlrepo]. [__`stackql-deploy`__][pypi] is distributed as a Python script to be used as a CLI tool, do the following to get started:
57+
[**`stackql-deploy`**][pypi] is an open-source command line utility which implements a declarative, model driven framework to deploy and manage multi cloud stacks using [**`stackql`**][stackqlrepo]. [**`stackql-deploy`**][pypi] is distributed as a Python script to be used as a CLI tool, do the following to get started:
4858
<br />
4959

5060
```bash
5161
pip install stackql-deploy
5262
```
5363

54-
> __Note for macOS users__
55-
> to install `stackql-deploy` in a virtual environment (which may be necessary on __macOS__), use the following:
64+
> **Note for macOS users**
65+
> to install `stackql-deploy` in a virtual environment (which may be necessary on **macOS**), use the following:
66+
>
5667
> ```bash
5768
> python3 -m venv myenv
5869
> source myenv/bin/activate
@@ -61,15 +72,15 @@ pip install stackql-deploy
6172
6273
## About StackQL
6374
64-
StackQL is a utility which allows you to query and interact with cloud and SaaS resources in real time using SQL grammar. StackQL supports a full set of SQL query/DML grammar, including `JOIN`, `UNION` adn subquery functionality and supports mutation operations on cloud and SaaS resources such as `create`, `update` and `delete`, implemented as `INSERT`, `UPDATE` and `DELETE` respectively. StackQL also supports grammar for performing lifecycle operations such as starting or stopping a VM using the `EXEC` statement.
75+
StackQL is a utility which allows you to query and interact with cloud and SaaS resources in real time using SQL grammar. StackQL supports a full set of SQL query/DML grammar, including `JOIN`, `UNION` adn subquery functionality and supports mutation operations on cloud and SaaS resources such as `create`, `update` and `delete`, implemented as `INSERT`, `UPDATE` and `DELETE` respectively. StackQL also supports grammar for performing lifecycle operations such as starting or stopping a VM using the `EXEC` statement.
6576
66-
StackQL provider definitions are defined in plaintext OpenAPI extensions to the providers specification. These definitions are then used to generate the SQL schema and the API client. The source for the provider definitions are stored in the [__StackQL Registry__][registry].
77+
StackQL provider definitions are defined in plaintext OpenAPI extensions to the providers specification. These definitions are then used to generate the SQL schema and the API client. The source for the provider definitions are stored in the [**StackQL Registry**][registry].
6778
6879
## How it works
6980
7081
<!-- > see [__readthedocs__]() for more detailed documentation -->
7182
72-
A __`stackql-deploy`__ project is a directory containing StackQL scripts with a manifest file at the root of the directory, for example:
83+
A **`stackql-deploy`** project is a directory containing StackQL scripts with a manifest file at the root of the directory, for example:
7384
7485
```
7586
├── example_stack
@@ -115,9 +126,9 @@ resources:
115126
116127
Deployment orchestration using `stackql-deploy` includes:
117128
118-
- __*pre-flight*__ checks, which are StackQL queries that check for the existence or current configuration state of a resource
119-
- __*deployment*__ scripts, which are StackQL queries to create or update resoruces (or delete in the case of de-provisioning)
120-
- __*post-deployment*__ tests, which are StackQL queries to confirm that resources were deployed and have the desired state
129+
- **_pre-flight_** checks, which are StackQL queries that check for the existence or current configuration state of a resource
130+
- **_deployment_** scripts, which are StackQL queries to create or update resoruces (or delete in the case of de-provisioning)
131+
- **_post-deployment_** tests, which are StackQL queries to confirm that resources were deployed and have the desired state
121132
122133
This process is described here:
123134
@@ -278,16 +289,26 @@ Navigate to your `docs` directory and build the Sphinx documentation:
278289
```
279290
cd docs
280291
make html
281-
```
292+
```
293+
294+
## Code Linting
295+
296+
To maintain code quality and consistency, we use `ruff` as the linter for this project. `ruff` offers fast performance and a comprehensive set of linting rules suitable for `stackql-deploy`. You can run the lint check as follows:
297+
298+
```bash
299+
ruff check .
300+
```
301+
302+
Note: If you need to install ruff, you can do so with `pip install ruff`.
282303
283304
## Contributing
284305
285-
Contributions are welcome and encouraged.
306+
Contributions are welcome and encouraged.
286307
287308
## License
288309
289310
Distributed under the MIT License. See [`LICENSE`](https://github.com/stackql/stackql-deploy/blob/main/LICENSE) for more information.
290311
291312
## Contact
292313
293-
Get in touch with us via Twitter at [__@stackql__][twitter], email us at [__info@stackql.io__](info@stackql.io) or start a conversation using [__discussions__][discussions].
314+
Get in touch with us via Twitter at [**@stackql**][twitter], email us at [**info@stackql.io**](info@stackql.io) or start a conversation using [**discussions**][discussions].

0 commit comments

Comments
 (0)