Skip to content

kr-viku/myapp

 
 

Repository files navigation

README

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

  • ...

Getting Started

To get a local copy of the repository please run the following commands on your terminal:

$ cd <folder>
$ git clone git@github.com: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

How to run

Start server with:

    rails s

Open http://localhost:3000/ in your browser.

To run Test

$ rails db:migrate RAILS_ENV=test
$ rspec --format documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.2%
  • HTML 12.8%
  • JavaScript 8.1%
  • CSS 1.5%
  • SCSS 0.4%