levlaz / snippetbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snippetbox

Connecting to DB Locally

# 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

About

License:MIT License


Languages

Language:Go 58.0%Language:CSS 27.5%Language:HTML 9.3%Language:Just 4.2%Language:JavaScript 1.1%