lucky_app

Version, currently master branch1 version
  • master branchlatestFeb 26, 2022

github.com/drhuffman12/my_lucky_app

No description declared in shard.yml.

0 stars
0 dependents
License: not declared

Installation

# Add this to your shard.yml
dependencies:
  lucky_app:
    github: drhuffman12/my_lucky_app
    branch: master

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

Then run:

shards install

shard.yml

Crystal
1.2.2
Author
Daniel Huffman
Target
  • lucky_app from src/lucky_app.cr

Dependencies

Runtime Dependencies

  • jwt~> 1.6.0github: crystal-community/jwt
  • lucky~> 0.29.0github: luckyframework/lucky
  • carbon~> 0.2.0github: luckyframework/carbon
  • authentic~> 0.8.1github: luckyframework/authentic
  • lucky_env~> 0.1.4github: luckyframework/lucky_env
  • lucky_task~> 0.1.1github: luckyframework/lucky_task
  • carbon_sendgrid_adapter~> 0.2.0github: luckyframework/carbon_sendgrid_adapter

Development Dependencies

  • lucky_flow~> 0.7.3github: luckyframework/lucky_flowdev

README

my_lucky_app

Homepage: git@github.com:drhuffman12/my_lucky_app.git

Based on:

See also:

  • https://discord.com/channels/743896265057632256/743896265057632259/945502280298430534

Fixes

  • Lucky::RouteNotFoundError error re Could not find route matching GET /js/bootstrap.esm.js.map: https://discord.com/channels/743896265057632256/743896265057632259/945527071424258108

    app_1       | web          | GET / ()
    app_1       | web          |  ▸ Handled by Home::Index
    app_1       | web          |  ▸ Rendered Home::IndexPage
    app_1       | web          |  ▸ Sent 200 OK (591.86µs) ()
    app_1       | web          |  ▸  Lucky::RouteNotFoundError 
    app_1       | web          | 
    app_1       | web          |      Could not find route matching GET /js/bootstrap.esm.js.map
    app_1       | web          | 
    app_1       | web          |     Backtrace 
    app_1       | web          | 
    app_1       | web          |      lib/dexter/src/dexter/log.cr:166:5 in 'call'
    • As per Jeremy Woertink at https://discord.com/channels/743896265057632256/743896265057632259/945528217345859635:

      the map files usually fail because they're not set in the mix-manifest.json file. We may have to look at that again, but I don't think it causes any issues other than log noise
    • RESOLVED by adding files from "https://github.com/twbs/bootstrap/blob/main/dist/js/.min.js" into "public/js"; in particular "bootstrap.esm.js.map".

  • Nav bar is supposed to be horizontal, but is vertical; why?

    • Using Components (https://luckyframework.org/guides/tutorial/components)
      • Adding a nav bar
        • based on: https://www.w3schools.com/bootstrap/bootstrap_navbar.asp