{"id":17680654,"url":"https://github.com/robacarp/lucky_template","last_synced_at":"2025-06-18T06:35:32.313Z","repository":{"id":66257197,"uuid":"454930362","full_name":"robacarp/lucky_template","owner":"robacarp","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-03T20:21:58.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T21:35:46.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robacarp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-02T20:47:39.000Z","updated_at":"2022-02-02T20:49:10.000Z","dependencies_parsed_at":"2023-02-20T20:01:05.530Z","dependency_job_id":null,"html_url":"https://github.com/robacarp/lucky_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Flucky_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Flucky_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Flucky_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robacarp%2Flucky_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robacarp","download_url":"https://codeload.github.com/robacarp/lucky_template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365645,"owners_count":20765546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T09:08:33.050Z","updated_at":"2025-03-30T19:12:32.594Z","avatar_url":"https://github.com/robacarp.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lucky Template\n\nThis is a project template for projects using:\n\n- [Lucky](https://luckyframework.org) v0.29\n- [Tailwind CSS](https://tailwindcss.com/) v3.0\n- [Mosquito Jobs](https://mosquito-cr.github.io/) v1.0\n\n## Features\n\n- User registration/logins/forgot passwords.\n- Admin portal.\n- Admin \"sudo\" mode, to view or act as a user.\n- `/ping` endpoint, populated at docker build time.\n\n## Setting up your project\n\n1. Clone this template\n1. Install dependencies: `shards install` and then `yarn install`\n1. Find and replace all of \"my_lucky_app\" with your name:\n  - `ag my_lucky_app` to find them in file contents.\n  - `find ./ -type f -exec sed -i -e 's/my_lucky_app/real_app_name/g' {} \\;` if you're willing.\n  - Don't forget about renaming the app_root: `find . -iname 'my_lucky_app*'`.\n1. Migrate the database: `lucky db.setup`\n1. Run `lucky dev` to start the app.\n1. Visit [http://localhost:3001](http://localhost:3001)\n\n## Deploying\n\nThere are utility scripts provided to aid in building and releasing to heroku:\n\n- `script/docker/build` will build and tag a docker container for release.\n- `script/docker/run` will run the tagged container locally.\n    - `script/docker/run \u003ccommand\u003e` will boot the container and run the\n      command. For example, `script/docker/run sh` will open a shell into the\n      container.\n    - To run the worker instead of the server export the environment variable `DYNO=worker`.\n- `script/docker/deploy` will:\n    - tag the container for deploy to heroku.\n    - push it to registry.heroku.com.\n    - run `container:release`\n    - and optionally run migrations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobacarp%2Flucky_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobacarp%2Flucky_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobacarp%2Flucky_template/lists"}