Image-Gallery-App is a gallery store app that enables users to upload their pictures tagging them with the title, and description.
To get a local copy up and running follow these simple example steps:
- Ruby 3.1.1 or 2.7.5
- Rails 7.0.2
- RSpec-rails 5.0.0
- In your terminal,
cd
to the directory where you want to copy this project. - Still in your terminal, clone the repository by typing
git clone https://github.com/rolandm99/image-gallery-app.git
- Run cd
image-gallery-app
- After completing the setup section, type
bundle install
thennpm install
- Run
rake db:create:all
andrake db:migrate
- Run
rake db:seed
to populate the database with some sample data. - Run
rubocop -A
andnpx stylelint "**/* .css --fix"
to fix linter automatically. - Run
rails s
to start the server. - In your browser, go to http://localhost:3000.
- 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.
👤 Roland Mweze
- GitHub: @RolandM99
- LinkedIn: LinkedIn
- Twitter: @ManfulMwez
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Heartfelt thanks to Ngeni.io Developers
This project is MIT licensed.