This project consist of building a site similar to Twitter that allow users to create accounts, login into the system, publish tweets, follow other users and unfollow as well.
- Ruby v2.7.0
- Ruby on Rails v6.0.2
The development environment uses Ruby
, hence install ruby before proceeding.
-
Mac OS -
brew install ruby
-
Linux -
sudo apt-get install ruby-full
-
windows - Download RubyInstaller here, run it, and you are done!
To install Bundler run this command:
gem install bundler
Now, you are ready to install the Gemfile dependencies. Run the following command and you are good to go:
bundle install
-
Clone the project - git clone
https://github.com/bafiam/hikers-bay.git
-
Run
bundle
to get all the gems -
Go to config/database.yml change password to your postgres DB password, or follow this guide
-
Run
sudo service posgresql start
-
Run
rails db:migrate
Inside The project Repository run the following command:
$ rails server
Then, go to http://localhost:3000/
Inside The project Repository run the following command:
$ rspec spec --format documentation
👤 Bafiam Steve
- GitHub: @bafiam