This repo includes a social media app that will allow the user to signin and signup,follow friends , share his thought with them. and It allow user to search for other users by there full name or username.
- Create an account
- Add a profile and cover image
- Follow users
- Unfollow users
- Publish posts
- Read others posts
- Search for users
- Ruby v2.7.0
- Ruby on Rails v5.2.4
To get a local copy up and running follow these simple example steps.
Ruby: 2.6.3
Rails: 5.2.3
Postgres: >=9.5
$ git clone https://github.com/rida-elbahtouri/ThoughtSpace.git
$ cd ThoughtSpace
Instal gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
Start server with:
rails server
Open http://localhost:3000/
in your browser.
To run the testing, you need to have ChromeDriver installed in your environment. Run one of this commands respected to your system:
Mac users with Homebrew installed: brew tap homebrew/cask && brew cask install chromedriver
Debian based Linux distros: sudo apt-get install chromium-chromedriver
Windows users with Chocolatey installed: choco install chromedriver
Now you can run the testing using this command:
rspec
if you still have a problem with webdriver try add gem 'webdrivers' to The Gemfile then run bundle install again
👤 Rida Elbahtouri
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!