The project runs with the expectation you have Expo Go installed already from either the App Store or Google Play Store. Additionally, it is assumed that you already have node installed with some package manager. This document will assume you are using npm
, so change the commands as needed.
-
Clone Files
HTTPS
git clone https://github.com/aggie-coding-club/Sizzler.git
SSH
git clone [email protected]:aggie-coding-club/Sizzler.git
-
Enter Project
cd Sizzler
-
Install dependencies
npm install
-
Start the app
npm run start
-
Scan QR code with phone to open application in Expo Go
Correctly linking the backend and frontend will require correct .env setup.
-
Create .env at the root of project
── app │ ├── (tabs) │ └── ... ├── assets │ ├── fonts │ └── images ├── components │ ├── __tests__ │ ├── navigation │ └── ... ├── constants │ └── ... ├── hooks │ └── ... ├── node_modules │ └── ... ├── README.md ├── package.json ├── .gitignore ├── .env ←──────────────── here └── ...
-
Add environment variables to .env
Replace
<Your WiFi IP>
with your local WiFi IP. If you are using the TAMU WiFi, then leave the option blank asEXPO_PUBLIC_WIFI_HOST=
. If for whatever reason the backend port changes, change theEXPO_PUBLIC_BACKEND_PORT
variable accordingly.EXPO_PUBLIC_BACKEND_PORT=3000 EXPO_PUBLIC_TAMU_WIFI_HOST=10.247.6.151 EXPO_PUBLIC_WIFI_HOST=<Your Local WiFi IP>
all variables must begin with EXPO_PUBLIC_
-
Get local WiFi IP
- Windows 10:
Command Prompt
- run command
ipconfig
- copy IP labeled as
IPv4 Address
- Windows 11:
- Option 1
Windows Terminal
→Command Prompt
- run command
ipconfig
- copy IP labeled as
IPv4 Address
- Option 2
- ⊞ Win + I (open
Windows Settings
) Network & Internet
Properties
IPv4 Address
- ⊞ Win + I (open
- Option 1
- macOS:
System Settings
Network
Wi-Fi
Details...
IP Address
- Windows 10:
Design is based on work done in Figma. Contact Art Young if you are a working member of the project and need access.
For any unaddressed issues, please contact Andrew Mao or Art Young for assistance.
There is a possibility that you may run into a mismatched version for expo go. Sizzler currently is running on Expo SDK 52. Whether you need to downgrade or upgrade your application version, simply run these commands to realign your repository.
npm install expo@52
npm expo install --fix
npm install