Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l-mds/local-data-stack


https://github.com/l-mds/local-data-stack

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# local data stack template

- dagster, dbt, duckdb
- pixi
- docker
- ruff, pyright, taplo, pytest
- cruft

## usage

Prerequisites:

- an installation of cruft `pip install cruft jinja2-ospath`
- an installation of pixi https://pixi.sh/latest/#installation `curl -fsSL https://pixi.sh/install.sh | bash`
- text editor of choice such as vscode
- docker

```bash
pixi run tpl-init-cruft

# alternatively:
cruft create cruft create [email protected]:l-mds/local-data-stack.git

cd <>
git init
git add .
git commit -m "initial commit"

pixi update
git commit -m "set dependencies"

git commit -m "reformatting"
pixi run fmt
```

Post install:

- update the secrets in the `.env` files by executing: `openssl rand -base64 32` and setting a suitable secret
- ensure the `.env.enc` can be created by following the instructions in [documentation/secops]