https://github.com/levlaz/snippetbox
https://github.com/levlaz/snippetbox
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/levlaz/snippetbox
- Owner: levlaz
- License: mit
- Created: 2023-12-28T19:54:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-26T21:36:13.000Z (11 months ago)
- Last Synced: 2025-10-13T04:36:13.537Z (10 months ago)
- Language: Go
- Size: 312 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snippetbox
## Connecting to DB Locally
```bash
# start db service with dagger
dagger up -m ci/mariadb --port 3306:3306 serve
# connect with mysql-client
mysql -h 127.0.0.1 -u root
# run init stuff
mysql -h 127.0.0.1 -u root < internal/db/init.sql
```
## CI
This project intentionally runs CI on every known SaaS provider using Dagger.
* CircleCI -> `.circleci/config.yml`
* GitHub Actions -> `.github/workflows/dagger.yml`
* GitLab -> `.gitlab-ci.yml`
* SourceHut -> `.build.yml`