Twitter redesign [Project by Microverse] (Created by Sayyod Saidov)
We are expected to build the Twitter clone-site which allows users to share their opinions with their followers. User can manage signups, share his opinions with other by posting them. User can follow other users and vice versa.
- Ruby 2.7.0
- Ruby on Rails 6.0.3.2
- Heroku
- 'bootstrap', '~> 4.5', '>= 4.5.2'
- 'carrierwave', '~> 2.1'
- 'font-awesome-rails', '~> 4.7', '>= 4.7.0.5'
- 'htmlbeautifier', '~> 1.3', '>= 1.3.1'
- 'jquery-rails'
- 'mini_magick', '~> 4.10', '>= 4.10.1'
- GitHub Actions
- 'capybara', '>= 2.15'
- 'rspec-rails'
- 'selenium-webdriver'
- 'shoulda-matchers'
To get started, you should first get this file in your local machine by downloading this project or typing:
git clone https://github.com/MrSayyod/Twitter-redesign.git
- Ruby installed on local machine (version: preferrable 2.7.0)
- Ruby on Rails installed on local machine (version: preferrable 6.0.3.2)
- Text editor (preferably: VSCode, Atom, Sublime)
- Git
- Postgres: >=9.5
If you have installed Ruby
and Ruby on Rails
on your machine:
- Clone the project into your local machine using
git clone
command or download the zip file. - Go into the project directory using
cd directory name
command. - Run the bundler using
bundle
orbundle install
command - Run
rails server
. - From your default browser go to the http://localhost:3000/
- EXTRA: If you are developer you can test it in the Rails console using
rails console
command.
- From terminal run
rails generate rspec:install
command. - Add
shoulda-matchers
gem into Gemfile. Gem should be inside ofgroup :test
(test environment). - Run the bundler using
bundle
orbundle install
command - Then add code below at the end of rails_helper.rb
Shoulda::Matchers.configure do |config|
config.integrate do |with|
with.test_framework :rspec
with.library :rails
end
end
- Run
rspec .
🤝 Contributions, issues and feature requests are welcome!
Start by:
1. Forking the project
2. Cloning the project to your local machine
3. cd into the project directory
4. Run git checkout -b your-branch-name
5. Make your contributions
6. Push your branch up to your forked repository
7. Open a Pull Request with a detailed description to the development branch of the original project for a review
Please feel free to contribute to any of these!
Feel free to check the issues page.
- Email: ssayyod@gmail.com
- Github: @MrSayyod
- LinkedIn: Sayyod Saidov
- Twitter: Sayyod Saidov
- Facebook: Sayyod Saidov
Give a 🌟 if you like this project!
This project is MiT licensed.