Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.46 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.46 KB

Circle CI Dependency Status

Universal React. React + React Native February 2018.

Prerequisites

Create project

  • git clone https://github.com/este/este.git este
  • cd este
  • yarn

Create Prisma DB

  • yarn prisma init appName choose node-advanced boilerplate and docker
  • set database/prisma.yml service to appName
  • merge appName/.env to .env.dev (without quotes)
  • delete /appName
  • yarn prisma deploy
  • yarn env dev

Deploy

  • yarn deploy:db, TODO: Deploy docker, wait for Prisma Cloud.
  • yarn deploy:api, use URL for APP_GRAPHQL_ENDPOINT in .env.production
  • yarn deploy:web

Dev tasks

  • yarn dev - start web development
  • yarn dev:ios
  • yarn dev:android
  • yarn env dev - copy .env.dev to .env
  • yarn env production - copy .env.production to .env
  • yarn production - test production build locally
  • yarn test
  • yarn prisma-local-upgrade
  • yarn schema-relay - when yarn dev is running to update schema and Relay
  • yarn deploy:db
  • yarn deploy:api
  • yarn deploy:web
  • yarn messages
  • yarn prisma --help

Links