Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 846 Bytes

README.md

File metadata and controls

62 lines (47 loc) · 846 Bytes

frontend-application

CircleCI

Prerequisite

  • nodenv
  • yarn
  • serverless
  • aws cli
  • direnv

Environment valuables

# Create .envrc to suit your environment.
cp -pr .envrc.sample .envrc
vi .envrc # edit

# allow
direnv allow

Also, you should use variables in .envrc.sample.develop when you are developing.

Build and deployment

Install dependencies

# install dependencies
nodenv install
yarn

Build

yarn build

Deployment

yarn deploy

# Re install dependencies
yarn

Development

Serve with hot reload at localhost:3000

yarn dev

Launch server

yarn start

Generate static project

yarn generate