Coder Social home page Coder Social logo

vinnyjth / ephesus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lcbc-digital/ephesus

0.0 1.0 0.0 3.15 MB

LCBC Church Mobile App built on Apollos

Home Page: https://LCBCchurch.com

Dockerfile 0.06% HCL 1.60% JavaScript 90.88% Shell 1.08% Starlark 0.86% Java 1.10% Ruby 2.12% Objective-C 2.30%

ephesus's Introduction

Apollos Template Project

Instructions for starting your own app.

1. Forking this repo

Forking this repo via forking this project on GitHub is not recommended, as it will tie your project directly to our repo. Instead, we recommend taking the following steps.

  1. Clone this repo locally.
  2. From the root of this repo, rm -rf .git
  3. Intialize a new git repository, git init.

2. Setting up your environment.

TBD

Instructions for co-development with Apollos Apps

First of all, to those of you who remember, the Monorepo, I'm sorry, stick with me. You'll need to change how you work slightly now that the app themselves have been split out, but you'll still get the same great features.

Setting up "linked" development

  1. From this repo, cd into apollos-church-api and apolloschurchapp and run yarn install.
  2. From this repo, run yarn pods from the root.
  3. Edit your .env. in apolloschurchapp, and add a relative or direct path to your apollos-apps root under the APOLLOS_APPS_LOCATION variable. ex: APOLLOS_APPS_LOCATION=../../apollos-prototype.
  4. From the root of apollos-apps, run yarn link-packages. You only need to run this once
  5. From the root of this repo, run yarn link-packages. You only need to run this once

Running the linked environments

  1. If you are working on API packages, cd into the apollos-apps project and run yarn build:api-watch. If you don't do this, you can still run the app, but you won't get live updates on changes to the API packages.
  2. From this repo, run yarn start. Just like the good old days.

FAQ

Q: Why linkemon? How is it different than nodemon?
A: linkemon will refresh the app if symlinked (yarn linked) packages are changed.

Q: Who do I yell at if things are broken?
A: @vinnyjth

Q: Do I need to set that APOLLOS_APPS_LOCATION variable?
A: Yes. Because metro doesn't support symlinks, we need to use wml, which needs to know where the packages live on disk.

Q: I'm getting errors when starting the bundler saying folders are not being watched!
A: watchman watch-del-all and then try yarn start from this repo again.

Q: What if I need to add a package to either repo?
A: In this case the node modules have changed and you'll need to yarn unlink/link from this repo again.

ephesus's People

Contributors

adamhann avatar

Watchers

James Cloos 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.