Skip to content

petrlz63/este

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Packages

No packages published

Languages

  • JavaScript 94.8%
  • Objective-C 3.0%
  • Python 1.2%
  • Java 1.0%