Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 2.49 KB

README.md

File metadata and controls

72 lines (44 loc) · 2.49 KB

Image-Gallery-App

About the project

Image-Gallery-App is a gallery store app that enables users to upload their pictures tagging them with the title, and description.

Built With

Ruby     RSpec     Postgres     Visual Studio Code     Tailwind

Getting Started

To get a local copy up and running follow these simple example steps:

Prerequisites

  • Ruby 3.1.1 or 2.7.5
  • Rails 7.0.2
  • RSpec-rails 5.0.0

Setup

  1. In your terminal, cd to the directory where you want to copy this project.
  2. Still in your terminal, clone the repository by typing git clone https://github.com/rolandm99/image-gallery-app.git
  3. Run cd image-gallery-app

Install

  • After completing the setup section, type bundle install then npm install

Running the app

  • Run rake db:create:all and rake db:migrate
  • Run rake db:seed to populate the database with some sample data.
  • Run rubocop -A and npx stylelint "**/* .css --fix"to fix linter automatically.
  • Run rails s to start the server.
  • In your browser, go to http://localhost:3000.

Testing

  • Run gem install rspec to install Rspec,
  • Run rspec spec to run all the test cases, and
  • Run rspec spec/name_of_test_file.rb to run test cases individually.

Author

👤 Roland Mweze

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Heartfelt thanks to Ngeni.io Developers

📝 License

This project is MIT licensed.