Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thape-cn/pp
Do people performance evaluation without Vendor/SaaS cost.
https://github.com/thape-cn/pp
Last synced: about 2 months ago
JSON representation
Do people performance evaluation without Vendor/SaaS cost.
- Host: GitHub
- URL: https://github.com/thape-cn/pp
- Owner: thape-cn
- License: mit
- Created: 2023-08-19T06:19:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:26:12.000Z (about 2 months ago)
- Last Synced: 2024-10-30T02:50:29.905Z (about 2 months ago)
- Language: HTML
- Homepage:
- Size: 2.28 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# a People Performance system
[![build status](https://github.com/thape-cn/pp/actions/workflows/rubyonrails.yml/badge.svg)](https://github.com/thape-cn/pp/actions) [![pipeline status](https://git.thape.com.cn/rails/pp/badges/main/pipeline.svg)](https://git.thape.com.cn/rails/pp/-/commits/main)
## How to Start (or Restart) Development?
Traditionally, you would run `bin/setup`, but the following steps will get you started more quickly.
```bash
bin/rails db:migrate
RAILS_ENV=development bin/rails db:fixtures:load
bin/rails server # login as [email protected] / pp_rocks
```## Development Notes
### How to Import the Database
```bash
mysql -u root
DROP DATABASE thape_pp_dev;
CREATE DATABASE thape_pp_dev character set UTF8mb4 collate utf8mb4_0900_ai_ci;
\q
gunzip < mysql_pp_db.sql.gz | mysql -u root thape_pp_dev
```### Debugging SCSS
Set `shakapacker.yml` hmr to true.
```yml
---
hmr: true
```### Why should always include "stimulus"?
With webpack 5, the loading sequence is important.
### How to debug in VSCode?
Install `Ruby LSP` by Shopify and `VSCode rdbg Ruby Debugger` by KoichiSasada.
Ensure that only one version of the debug gem is installed as a default gem. If not, uninstall it first:
```bash
gem uninstall -i /opt/homebrew/Cellar/ruby/3.2.2/lib/ruby/gems/3.2.0 debug
gem install debug --default
```