/luckyframework-sandbox

a sandbox for learning with luckyframework

Primary LanguageCrystalMIT LicenseMIT

Sandbox

This is a project written using Lucky. Enjoy!

Open in VS Code with remote containers extension installed to open in a docker container.

Run all commands from the integrated terminal.

Setting up the project

  1. Install required dependencies
  2. Update database settings in config/database.cr
  3. Run script/setup
  4. Run lucky dev to start the app
  5. Open localhost:3001 to view the app

Testing

  1. Run crystal spec
  2. If it fails on LuckyFlow, open up configure_lucky_flow.cr and add the path for the chromedirver e.g. settings.chromedriver_path = "/usr/bin/chromedriver"
  3. Re-run step 1

Learning Lucky

Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.