ofl / entry_point_2019

Rails entry point
MIT License
0 stars 1 forks source link

EntryPoint2019

CircleCI

Overview

Rails + Vue.js + GraphQL + Apollo Client + Atomic Design + Storybook

Description

Demo

Requirement

Ruby

JavaScript

CSS

Service

Install

# bundle install
docker-compose run --rm rails bundle install

# yarn install
docker-compose run --rm yarn

Usage

# Edit environment variables
cp .env.sample .env
docker-compose up -d

# run watch
docker-compose run --rm yarn run watch

Javascript Lint

docker-compose run --rm yarn run lint

Javascript Test(Jest)

docker-compose run --rm yarn run test

Storybook

docker-compose run --rm --service-ports yarn run storybook

Add npm package

docker-compose run --rm yarn add xxx

Update gem

docker-compose run --rm rails bundle update

Update package.json

ncu -u

Update npm

docker-compose run --rm yarn upgrade

Force Push

git push heroku feature/234_send_grid:master --force

Licence

MIT

Author

ofl