This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
Ruby version
System dependencies
Configuration
Database creation
Database initialization
How to run the test suite
Services (job queues, cache servers, search engines, etc.)
Deployment instructions
...
To get a local copy of the repository please run the following commands on your terminal:
$ cd <folder>
$ git clone [email protected]:Dipeshtwis/twitter-redesign.git
$ cd twitter-redesign
$ bundle install
$ yarn install --check-files
Setup database with:
make sure you have postgres sql installed and running on your local machine
Go to config > database.yml
Replace xxx
with your own
postgresql username and password
username: xxx
password: xxx
create and migrate the database by these commands
rails db:create
rails db:migrate
Start server with:
rails s
Open http://localhost:3000/
in your browser.
$ rails db:migrate RAILS_ENV=test
$ rspec --format documentation