Skip to content

Commit

Permalink
high-level project info for dbdocs.io
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Feb 23, 2024
1 parent f5d0a7c commit d867e38
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dbdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: sc-crawler schema mysql > schema.sql
- name: Convert SQL schema to DBML
run: sql2dbml --mysql schema.sql -o schema.dbml
- name: Add project description
run: cat project.dbml >> schema.dbml
- name: Update dbdocs project
env:
DBDOCS_TOKEN: ${{ secrets.DBDOCS_TOKEN }}
Expand Down
11 changes: 11 additions & 0 deletions project.dbml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Project DBML {
Note: '''
# Spare Cores (SC) Crawler database schemas

[Spare Cores](https://sparecores.com), a Python-based open-source ecosystem, provides a comprehensive and standardized inventory, along with performance evaluations of available compute resources across public cloud and server providers. The project providers different components to interact with the database schemas defined here:

* Run the SC Crawler, to compile your own database: https://github.com/SpareCores/sc-crawler
* Use the SC Data package to easily grab a copy of the database: https://github.com/SpareCores/sc-data
* Fire up an API using the SC Keeper package on the top of the database: https://github.com/SpareCores/sc-keeper
'''
}

0 comments on commit d867e38

Please sign in to comment.