Skip to content

Official repo for DietPeeps mobile app

Notifications You must be signed in to change notification settings

faz919/DietPeeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Official DietPeeps Repository

This is the official GitHub repository for DietPeeps. DietPeeps can be found on the App Store and the Google Play Store.

Setup Guide

Installation

Clone this project and name it accordingly:

git clone https://github.com/blackshepherd-lab/DietPeeps.git

Prerequisites

[iOS only] If you plan to deploy the app to an iOS device, you must first install CocoaPods.

Extra Files

  1. Ask an admin for a copy of the constants.js, testimonials.js and CourseData.json files (necessary to run the app).
  2. Make a folder named constants at the project root and place constants.js inside of it.
  3. Make a folder named data at the project root and place testimonials.js and CourseData.json inside of it.

Package Management

  1. After installing, open the project in an IDE of your choice and open a terminal at the project's root.
  2. Run npm i and wait for all of the necessary packages to finish installing.
  3. [iOS only] Then run cd ios && pod install.

Android Deployment (MacOS and Windows)

  1. Enable USB debugging on your Android device.
  2. Connect the device to your computer.
  3. In the project root terminal, run npx react-native run-android. The build and deploy should complete within 5-10 minutes.

(Optional) Google Login

  1. Ask an admin for a copy of the google-services.json file.
  2. Place the file inside of the android/app/ folder.

iOS Deployment (MacOS)

  1. Install Node and Watchman using Homebrew via brew install node && brew install watchman.
  2. Install Xcode via the Mac App Store.
  3. 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.

Simulator

  1. 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.
  2. In your project root terminal, run npx react-native run-ios. The build and deploy should complete within 5-10 minutes.

Physical Device

  1. Follow this guide for iOS deployment on a physical device.
  2. 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.

(Optional) Third Party Login

  1. Ask an admin for a copy of the GoogleService-Info.plist file.
  2. Place the file inside of the ios/ folder.

Updates & App Info

As of May 18th, 2022, version 1.032 has been pushed to the app store.

Credits & Special Thanks

Made by Faizi Tofighi with lots of help and feedback from NN, WM, IW, NEA, and NAS.

About

Official repo for DietPeeps mobile app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages