This project is the Capstone of the Microverse curriculum at the end of the Ruby on Rails module!
Movie time project, Users can create categories and movies of their choice, where they create movies and give title, description and a photo about it and other users can vote for the movies they like.
- Ruby
- Rails
- Bootstrap
- Will_paginate
- Rubocop
- Webpacker
- postgresql
- Git
This project can be found in (https://github.com/arikarim/rails-capstone/tree/main)
To get started with the app, clone the repo and then install the needed gems:
$ bundle install --without production
Next, migrate the database:
$ rails db:migrate
Next, seed the database:
$ rails db:seed
in order to be able to create movies(articles) in local machine you should do the following:
-
create an account on cloudinary
-
on your cloudinary dashboard you can see your(CLOUD_NAME, CLOUD_API AND CLOUD SECRET).
-
inside the config file create cloudinary.yml file and paste thid code below:
development:
cloud_name: put yours
api_key: 'put yours'
api_secret: put yours
enhance_image_tag: true
static_file_support: false
production:
cloud_name: put yours
api_key: 'put yours'
api_secret: put yours
enhance_image_tag: true
static_file_support: true
test:
cloud_name: put yours
api_key: 'put yours'
api_secret: put yours
enhance_image_tag: true
static_file_support: false
- change cloud_name, api_key and api_secret to yours using the cloudinary dashboard.
- bundle exec rspec
when the tests passed you can ru the server with:
$ rails server
contributions, issues, and feature requests are welcome!
feel free to check issues page.
- fork it (https://github.com/arikarim/rails-capstone/fork)
- create your working branch (git checkout -b [choose-a-name])
- commit your changes (git commit -am 'what this commit will fix/add/improve')
- push to the branch (git push origin [chosen-name])
- create a new pull request
give a ⭐️ if you like this project!
This project is MIT licensed.