Skip to content

hello-slide/front

Repository files navigation

Front

This repository is responsible for the frontend of Hello Slide.

Required Dependency

  • node: latest
  • yarn: latest
yarn install

Environments

NEXT_PUBLIC_API_DOMAIN=****   # APIのドメイン
NEXT_PUBLIC_DOMAIN=****       # ページのドメイン
GOOGLE_ANALYTICS_ID=****      # Google analytics id

Lint and Build

  • Lint

    # run linter
    yarn run lint
    
    # fix
    yarn run fix
  • Build

    yarn run build
  • ログインした状態でデバッグ

やり方

Start (or dev start)

yarn run start

To start for debugging purposes:

yarn run dev

Deploy

Deploy to GAE.
Normally it will be automatically deployed when pushed to the main branch.
However, it can also be deployed explicitly.

# notice: require gcloud.
yarn run deploy

LICENSE

MIT