sandbox

Version, currently main branch1 version
  • main branchlatestJan 26, 2023

github.com/colindensem/luckyframework-sandbox

a sandbox for learning with luckyframework

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  sandbox:
    github: colindensem/luckyframework-sandbox
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.35.1
Author
your-name-here <your-email-here>
Target
  • sandbox from src/sandbox.cr

Dependencies

Runtime Dependencies

  • jwt~> 1.4.2github: crystal-community/jwt
  • lucky~> 0.23.0github: luckyframework/lucky
  • carbon~> 0.1.2github: luckyframework/carbon
  • dotenv~> 0.7.0github: gdotdesign/cr-dotenv
  • authentic~> 0.6.1github: luckyframework/authentic
  • lucky_flow~> 0.7.0github: luckyframework/lucky_flow

README

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.