blackducksoftware/ohloh-ui
blackducksoftware/ohloh-ui has 130 GitHub stars and 62 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-12 08:58 UTC. Last push 2026-11-06.
Web Application for the OpenHub Stack.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 업데이트 지연
- in 15 days
- 업데이트 지연
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalOhlohUI
A Ruby on Rails application for the Open Hub platform.
📋 Table of Contents
- Prerequisites
- Getting Started
- Database Setup
- Running the Application
- Testing
- Pull Request Checks
- Contributing
🔧 Prerequisites
Before you begin, ensure you have the following installed:
- Ruby: 3.1.7 (use
rbenvorrvm) - Rails: 6.1.7.10
- PostgreSQL: Latest stable version
System-Specific Requirements
macOS
brew install postgresql
brew services start postgresql
Ubuntu/Debian
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib libpq-dev
Install Ruby version manager (rbenv)
brew install rbenv
rbenv install 3.1.7
rbenv global 3.1.7
🚀 Getting Started
1. Clone the Repository
git clone [email protected]:blackducksoftware/ohloh-ui.git
cd ohloh-ui
2. Install Dependencies
gem install bundler
bundle install
💾 Database Setup
1. Configure Environment Variables
Create a file named .env.development in the project root with the following content:
DB_ENCODING=UTF-8
DB_HOST=localhost
DB_NAME=oh_db
DB_USERNAME=fis_user
DB_PASSWORD=fis_password
TEST_DB_HOST=localhost
TEST_DB_NAME=oh_test
TEST_DB_USERNAME=fis_user
TEST_DB_PASSWORD=fis_password
2. Create PostgreSQL User
psql postgres
In PostgreSQL prompt:
CREATE USER fis_user WITH PASSWORD 'fis_password';
ALTER USER fis_user WITH SUPERUSER;
Note: The default DB encoding was set to SQL_ASCII for legacy data compatibility. UTF-8 encoding is recommended for new data.
2. Create and Setup Databases
rails db:create
rake db:structure:load
rake db:migrate
Note: You may see errors about existing relations and constraints. These can be safely ignored.
3. Setup Admin User
Create a default admin user (arguments are optional):
ruby script/setup_default_admin.rb <login> <password> <email>
Default credentials if no arguments provided:
- Login:
admin_user - Password:
admin_password - Email:
[email protected]
▶️ Running the Application
Start the Rails server:
rails s
Visit http://localhost:3000 to view the application.
🧪 Testing
Unit & Integration Tests
Run the full test suite:
$ rake test
Run a single test file:
$ rake test test/models/account_test.rb
Run a directory of tests:
$ rake test test/models
🔄 Pull Request Checks
Pre Pull Request Checks
The CI pipeline runs the following checks on all pull requests:
rake ci:all_tasks
This includes:
- rubocop - Ruby style linting
- bundle audit - Dependency vulnerability checking
- rake test - Ruby unit tests
Post Pull Request Checks
After all the successful checks, CI pipeline will have success message like
All checks has been passed.
🤝 Contributing
- Create a feature branch from
main - Make your changes
- Run
rake ci:all_tasksto ensure all checks pass - Submit a pull request
📝 License
See LICENSE file for details.
🔒 Security
For security concerns, please refer to security.md.
관련 프로젝트 살펴보기
Asabeneh/30-Days-Of-Python
30 Days of Python 프로그래밍 챌린지는 Python 프로그래밍 언어를 30일 동안 배우기 위한 단계별 가이드입니다. 이 챌린지는 100일 이상 걸릴 수 있습니다. 자신의 속도에 맞춰 진행하세요. 다음 동영상도 도움이 될 수 있습니다: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,618 스타grafana/grafana
개방적이고 조합 가능한 옵저버빌리티 및 데이터 시각화 플랫폼입니다. Prometheus, Loki, Elasticsearch, InfluxDB, Postgres 등 여러 소스의 메트릭, 로그, 트레이스를 시각화합니다.
77,859 스타redis/redis
실시간 데이터 기반 애플리케이션을 구축하는 개발자에게 Redis는 가장 선호되고, 가장 빠르며, 기능이 가장 풍부한 캐시, 데이터 구조 서버이자 문서 및 벡터 쿼리 엔진입니다.
77,472 스타apache/superset
Apache Superset는 데이터 시각화 및 데이터 탐색 플랫폼입니다.
75,495 스타