Git Product home page Git Product logo

este's Introduction

CircleCI Dependency Status

Universal React. React + React Native.

Prerequisites

Setup project

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

Setup Prisma server with Docker Compose [requires docker-compose]

  • yarn docker:up -- this will spin up a docker instance of Postgres and Prisma server at http://localhost:4466
  • yarn docker:down -- stop docker-compose servers

Deploy dev Prisma

  • yarn env dev
  • yarn deploy:db
  • yarn prisma token generate token
  • yarn playground Set database HTTP HEADERS to { "Authorization": "Bearer token" }

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 codegen - when yarn dev is running
  • yarn deploy:db
  • yarn deploy:api
  • yarn deploy:web
  • yarn messages
  • yarn prisma --help
  • yarn prisma reset to reset DB

Add production Prisma

  • The same as Create Prisma, but use production name, .env.production file, and yarn env production.

Deploy

  • yarn deploy:db,
  • yarn deploy:api, use now generated URL for API_ENDPOINT in .env.production
  • yarn deploy:web

Links

este's People

Contributors

steida avatar grabbou avatar xeed avatar cbioley avatar robi42 avatar tajo avatar justinr1234 avatar ondrejbartas avatar zigomir avatar greenkeeperio-bot avatar ironer avatar ilionic avatar dombo avatar amowu avatar piaolingxue avatar rkoberg avatar davidohayon669 avatar sedubois avatar alesjiranek avatar ravikiran438 avatar robinpokorny avatar pstanisl avatar ja-be avatar thetoothpick avatar honzabrecka avatar syroegkin avatar sunnylqm avatar atypicalrobot avatar tomaskulich avatar tarkanlar avatar

Watchers

James Cloos avatar Abi Mahan Zaky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.