Last active
April 23, 2025 22:25
-
-
Save fherx/378f22265673d0a11f8d168f8f7f1649 to your computer and use it in GitHub Desktop.
Tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Guía de Git y GitHub con GitFlow para el proyecto **mplayer** | |
| ### 0. Configuración inicial para un nuevo miembro (macOS) | |
| 1. **Instalar Homebrew** (gestor de paquetes en macOS): | |
| ```bash | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| ``` | |
| 2. **Instalar Node.js y npm**: | |
| ```bash | |
| brew install node | |
| ``` | |
| Verificar versiones: | |
| ```bash | |
| node -v | |
| npm -v | |
| ``` | |
| 3. **Instalar Yarn** (opcional, pero recomendado): | |
| ```bash | |
| brew install yarn | |
| ``` | |
| 4. **Instalar Git**: | |
| ```bash | |
| brew install git | |
| ``` | |
| Configurar usuario: | |
| ```bash | |
| git config --global user.name "Tu Nombre" | |
| git config --global user.email "tu.email@ejemplo.com" | |
| ``` | |
| 5. **Instalar Expo CLI**: | |
| ```bash | |
| npm install -g expo-cli | |
| # o con yarn | |
| yarn global add expo-cli | |
| ``` | |
| 6. **Instalar Watchman** (recomendado para React Native): | |
| ```bash | |
| brew install watchman | |
| ``` | |
| 7. **Instalar Xcode** (desde App Store) y las command line tools: | |
| ```bash | |
| xcode-select --install | |
| ``` | |
| #### Clonar el repositorio y setup inicial | |
| ```bash | |
| git clone git@github.com:tu_usuario/mplayer.git | |
| cd mplayer | |
| ``` | |
| #### Instalación de dependencias | |
| Con npm: | |
| ```bash | |
| npm install | |
| ``` | |
| Con yarn: | |
| ```bash | |
| yarn install | |
| ``` | |
| #### Arrancar en modo desarrollo | |
| ```bash | |
| expo start | |
| ``` | |
| Luego puedes: | |
| - Presionar "i" para abrir en iOS Simulator. | |
| - Presionar "a" para abrir en Android Emulator. | |
| #### Crear una build de producción (export) | |
| Para producción en iOS: | |
| ```bash | |
| expo build:ios | |
| ``` | |
| Para producción en Android: | |
| ```bash | |
| expo build:android | |
| ``` | |
| (O usando `eas build` si usas Expo Application Services) | |
| #### Exportar un binario local (Archive) | |
| iOS: | |
| ```bash | |
| expo export --platform ios | |
| ``` | |
| Android: | |
| ```bash | |
| expo export --platform android | |
| ``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment