yuta-ushijima / qiita_clone

This repository is for my learning. Create Qiita clone App made by Rails and Vue.
0 stars 0 forks source link

README

Ruby version

2.5.0

Node version

6.0.0

Npm version

3.0.0

Infrastructure

$ brew install mysql

copy yml files

$ cp config/database.yml.sample config/database.yml

Install gems

$ bundle install --path vendor/bundle --jobs=4

Database creation & initialization

$ bundle exec rails db:create db:migrate

How to run the test suite

$ bundle exec rspec

How to run application servers

$ bundle exec rails server

How to run client servers

$ cd frontend
$ yarn start