Easy-to-manage touch screens
무료 오픈소스 터치스크린으로 USB 설정 가이드, 드래그‑드롭 편집기, 로컬 제어를 제공하며 Home Assistant용으로 제작되었습니다
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기All the code for Bike Index, because we love you
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Bike registration that works: online, powerful, free.
Registering a 🚲 only takes a few minutes and gives 🚴♀️ a permanent record linked to their identity that proves ownership in the case of a theft.
We're an open source project. Take a gander through our code, report bugs, or download it and run it locally.
We recommend mise for managing versions of Ruby and Node. Check the .tool-versions file to see the versions of required versions of:
Bike Index also requires some additional libraries. We recommend installing them via your system package manager / homebrew
PostgreSQL
Redis
libvips and imagemagick for image manipulation
imagemagick will only be required for testing (via chunky_png), but we're not there yetFollow the Getting Started guide for a complete set up. Or if you're familiar with developing Ruby on Rails applications start with these steps and a local Postgresql installation:
bin/setup sets up the application and seeds test organizations, bikes and users:
pleaseplease12)bin/dev start the server. It starts redis in the background and runs foreman with the dev procfile. If you need/prefer something else, do that. If your "something else" isn't running at localhost:3042, change the appropriate values in Procfile.dev and .env
Go to localhost:3042
| Toggle in development | command | default |
|---|---|---|
| Caching | bundle exec rails dev:cache | disabled |
| logging with lograge | bin/rake dev:lograge | enabled |
Sent emails are captured by letter_opener_web and viewable at localhost:3042/letter_opener.
See the localization docs for details (we use translation.io for localization).
We use RSpec and Guard for testing.
Run the test suite continuously in the background with bin/guard (watches for file changes/saves and runs those specs)
You may have to manually add the fuzzystrmatch extension, which we use for
near serial searches, to your databases. The migration should take care of
this but sometimes doesn't. Open the databases in postgres
(psql bikeindex_development and psql bikeindex_test) and add the extension.
CREATE EXTENSION fuzzystrmatch;
We use turbo_tests to run the test suite in parallel. By default, this will spawn one process per CPU in your computer.
Run all the tests in parallel with bin/turbo_tests
Run bin/rake parallel:prepare to synchronize the test db schema after migrations (rather than db:test:prepare).
Run specific files or test directories with bin/turbo_tests <FILES_OR_FOLDERS>
Run Guard with parallelism bin/guard -G Guardfile_parallel
Parallel test databases are not migrated by default. After running migrations, sync them with bin/rake parallel:prepare (see above), or opt into automatic parallel migrations on db:migrate with PARALLEL_MIGRATIONS=true bin/rake db:migrate.
We use the following tools to automate code formatting and linting:
Run bin/lint to automatically lint the files and/or add auto formatters to your text editor (e.g. prettier-standard)
EditorConfig ensures whitespace consistency. See the Download a Plugin section of the EditorConfig docs to find a plugin appropriate to your editor.
StandardRB is an opinionated Ruby style guide, linter, and formatter - it is "a spiritual port of StandardJS".
See the how do I run standard in my editor section of the StandardRB docs to find an appropriate plugin for on-the-fly linting.
standard is configured to run on project JavaScript.
Install it with npm install
Run it with npm run lint.
Have a bug or a feature request? Open an issue.
Keep track of development and community news.
Open a Pull request!
Don't wait until you have a finished feature before before opening the PR, unfinished pull requests are welcome! The earlier you open the pull request, the earlier it's possible to discuss the direction of the changes.
Once the PR is ready for review, request review from the relevant person.
If your pull request contains Ruby patches or features, you must include relevant Rspec tests.
... and go hard