Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thape-cn/high-five
🙌 Recognize employee done right and showing
https://github.com/thape-cn/high-five
Last synced: about 2 months ago
JSON representation
🙌 Recognize employee done right and showing
- Host: GitHub
- URL: https://github.com/thape-cn/high-five
- Owner: thape-cn
- License: mit
- Created: 2024-10-18T07:01:42.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T07:15:14.000Z (2 months ago)
- Last Synced: 2024-10-24T20:50:56.529Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# High Five 🙌
[![Build Status](https://github.com/thape-cn/high-five/actions/workflows/rubyonrails.yml/badge.svg)](https://github.com/thape-cn/high-five/actions)
## How to import DB
```bash
psql -d postgres
DROP DATABASE highfive_development;
CREATE DATABASE highfive_development WITH ENCODING='UTF8';
\q
psql -d highfive_development -f high_five_prod_db.sql
```## Development notes
### When you want to debug the SCSS
Set `shakapacker.yml` hmr to true.
```yml
hmr: true
```### Why should always include "stimulus"
Because using webpack 5, the loading sequence do matter.
### How to debug in VSCode?
Install `Ruby LSP` by Shopify and `VSCode rdbg Ruby Debugger` by KoichiSasada.
Make sure debug only having one version install as default gems, otherwise uninstall first:
```bash
gem uninstall -i /opt/homebrew/Cellar/ruby/3.2.2/lib/ruby/gems/3.2.0 debug
gem install debug --default
```