This is the official GitHub repository for DietPeeps. DietPeeps can be found on the App Store and the Google Play Store.
Clone this project and name it accordingly:
git clone https://github.com/blackshepherd-lab/DietPeeps.git
[iOS only] If you plan to deploy the app to an iOS device, you must first install CocoaPods.
- Ask an admin for a copy of the
constants.js
,testimonials.js
andCourseData.json
files (necessary to run the app). - Make a folder named
constants
at the project root and placeconstants.js
inside of it. - Make a folder named
data
at the project root and placetestimonials.js
andCourseData.json
inside of it.
- After installing, open the project in an IDE of your choice and open a terminal at the project's root.
- Run
npm i
and wait for all of the necessary packages to finish installing. - [iOS only] Then run
cd ios && pod install
.
- Enable USB debugging on your Android device.
- Connect the device to your computer.
- In the project root terminal, run
npx react-native run-android
. The build and deploy should complete within 5-10 minutes.
- Ask an admin for a copy of the
google-services.json
file. - Place the file inside of the
android/app/
folder.
- Install Node and Watchman using Homebrew via
brew install node && brew install watchman
. - Install Xcode via the Mac App Store.
- Install the Xcode Command Line Tools. Open Xcode, then choose "Preferences..." from the Xcode menu. Go to the Locations panel and install the tools by selecting the most recent version in the Command Line Tools dropdown.
- Install a simulator by opening Xcode > Preferences... and selecting the Components tab. Then select a simulator with the corresponding version of iOS you wish to use.
- In your project root terminal, run
npx react-native run-ios
. The build and deploy should complete within 5-10 minutes.
- Follow this guide for iOS deployment on a physical device.
- To run using the React Native CLI, instead of via Xcode, simply run
npx react-native run-ios --device 'YOUR_DEVICE_NAME'
in your project root terminal.
- Ask an admin for a copy of the
GoogleService-Info.plist
file. - Place the file inside of the
ios/
folder.
As of May 18th, 2022, version 1.032 has been pushed to the app store.
Made by Faizi Tofighi with lots of help and feedback from NN, WM, IW, NEA, and NAS.