Skip to content

Instantly share code, notes, and snippets.

@biomazi
biomazi / expo-build-setup.md
Last active May 30, 2025 16:43
Expo build setup

This article will guide you through building Expo application for deployment to GPC and Test Flight

If you dont have expo-dev-client you need to install it for development builds: npx expo install expo-dev-client

Build with EAS

  1. Create eas account on https://expo.dev/eas

  2. install eas globally on your machine npm install -g eas-cli

## Prerequisites:
# 1) Create a Docker IPv4 bridge network
# 2) Pick an IPv4 Address for Traefik, use the end of the network range
# 3) Pick a domain, recommend real DNS but faking is possible by editing the /etc/hosts file to point to Traefik's IPv4 address.
# 4) Replace the ${DOMAIN} place holder in the config-ldap.yaml, and env-config.js and files with the domain.
# 5) Get a valid certificate via Let's Encrypt or another method, recommend a wildcard cert
# 6) Copy cert/private key as /etc/letsencrypt/live/${DOMAIN}/{privkey.pem, fullchain.pem}, Uncomment lines 233-234 in the docker.compose.yml file
# Also uncomment the lines in traefik_dynamic.yaml after cert and key are in place
# 7) Copy this file as '.env', fill out with the appropriate values