Skip to content

LuckyCastsVideos/page-level-method-overloads

Repository files navigation

☘️ Lucky Jumpstart

This is a template project for web applications using Lucky.

Crystal CI

How to use it?

  • Click this link
  • Replace every instance of method_overloading with your application name, for example:
    • mv src/method_overloading.cr src/your_app.cr
    • rg method_overloading -l | xargs sed -i '' 's/method_overloading/your_app/g'
    • You can also simply run ./script/rename_template_app your_app
  • Run ./script/setup
  • Run docker-compose up
  • Run lucky dev

Why use a template?

There are quite a few things I find myself adding to every Lucky application out of the box, and this serves as a bit of a better starting point than the default generated application.

What's in the box?

Development

  • 🐳   A DockerCompose file for running your application database

Dependencies

  • 💎   Up-to-date Crystal dependencies
  • 🧶   Up-to-date Yarn dependencies

Tooling

CI/CD

  • 🐳   A Dockerfile that can run LuckyFlow specs

  • 🤖   A handy dandy Dependabot configuration file

  • A working GitHub Actions workflow with: