Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ochiengotieno304/search-engine-api
https://github.com/ochiengotieno304/search-engine-api
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ochiengotieno304/search-engine-api
- Owner: ochiengotieno304
- License: mit
- Created: 2024-01-20T17:15:50.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-01-20T19:30:29.000Z (about 1 year ago)
- Last Synced: 2024-01-20T20:24:23.043Z (about 1 year ago)
- Language: Ruby
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Set Up Guide
This guide will walk you through the steps necessary to set up and run the application.
## Ruby version
Make sure you have the correct version of Ruby installed. The recommended version for this application is Ruby 3.2.2.
## Setup
Run the following command to install dependencies
```bash
bundle install
```## Database setup
For this project I've used MongoDB as primary storage. Open mongoid.yaml in config and edit configs to match your configurations. An example is as shown.
```yaml
development:
clients:
default:
database: api_development
hosts:
- localhost:27017
options:
server_selection_timeout: 1
```## How to run the test suite
For tests we use Rspec
```bash
bundle exec rspec
```## ...
Feel free to add any additional steps or instructions specific to your application.