A realtime search application where you can search for articles.
- Languages & Technologies:
- Ruby on Rails
- Postgres
- Devise
- JavaScript
- HTML & Sass
- Conventions and Methodologies:
- BEM
Link to live democoming soon
Note: Unfortunately, it wasn't possible to deploy on Heroku or Render as they ended the free tier
To get a local copy up and running follow these simple example steps.
Download the code from this repository, by following these two steps:
- Click on the
Code
button, above the files list. - Click on the
Donwload ZIP
button to download the code.
1.1- Install the Ruby Bundler using this command on the root project's directory:
$ gem install bundler
1.2- Then, install all the project dependencies using this command:
$ bundle install
2.1- If you have Docker installed in your computer, create a Postgres image from the Dockerfile in this project using this command on the root project's directory:
$ docker build -t pg-db .
2.2- Create and run a new Docker container using the Postgres image created in the last step:
$ docker run --name rails-blog-db -p 5432:5432 -d pg-db
3.1- Run the database migrations to build the project's database with the correct tables:
$ rails db:migrate
3-2- Populate the application with sample data:
$ rails db:seed
To use this application, run this command on the root project's directory:
$ rails s
To run unit and integration tests, run this command on the root project's directory:
$ rspec
👤 Okongo Derrick
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.