{"repo":"blackducksoftware/ohloh-ui","free":true,"listed":false,"github":"https://github.com/blackducksoftware/ohloh-ui","clone":"git clone https://github.com/blackducksoftware/ohloh-ui.git","description":"Web Application for the OpenHub Stack.","language":"Ruby","stars":128,"topics":["ohloh","ui","ror","ruby-on-rails","ruby","database","oss","analysis"],"license":null,"category":"databases-storage","readme_excerpt":"OhlohUI 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 rbenv or rvm ) - Rails : 6.1.7.10 - PostgreSQL : Latest stable version System-Specific Requirements macOS Ubuntu/Debian Install Ruby version manager (rbenv) 🚀 Getting Started 1. Clone the Repository 2. Install Dependencies 💾 Database Setup 1. Configure Environment Variables Create a file named .env.development in the project root with the following content: 2. Create PostgreSQL User In PostgreSQL prompt: 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 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): Default credentials if no arguments provided: - Login: admin user - Password: admin password - Email: admin@example.com ▶️ Running the Application Start the Rails server: Visit http://localhost:3000 to view the application. 🧪 Testing Unit & Integration Tests Run the full test suite: Run a single test file: Run a directory of tests: 🔄 Pull Request Checks Pre Pull Request Checks The CI pipeline runs the following checks on all pull requests: This include","default_branch":null,"files":null,"tree":[],"storefront":"/r/blackducksoftware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/blackducksoftware/ohloh-ui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}