Skip to content

capture120/FloTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

FloTask

FloTask is a smart app that syncs your work with your body and mind! Connect your wearable device and calendar to get personalized and engaging suggestions for the best tasks to do based on your focus, energy, and mood.

Prerequisites

  • If you have any errors in tsconfig.json, you may need to yarn install the missing dev dependencies. Ex: yarn add --dev @types/graceful-fs

Setup

  1. Clone the Repository

    git clone https://github.com/capture120/FloTask.git
    cd FloTask
  2. Install Dependencies

    cd client
    yarn global add expo-cli
    yarn install
    • if expo-cli is not recognized you may need to add expo-cli to path with
    export PATH="$(yarn global bin):$PATH" # OR
    npm install -g eas-cli

Running App in Localhost Web Browser

  1. npx expo start --tunnel
  2. Open App
    • Web: Press s to switch to GO build. Press 'w' in terminal to open app in browser
    • Android, IOS: must build for functionality

Running App in Simulator

*** Note: After building and pushing to expo cloud, you do not have to build again unless you have new dependencies. If you team already has a functional build on Expo cloud, skip to step 3.

  1. Create client build Build Locally If Windows:

    1. Install WSL2
    2. Add ANDROID_NDK_HOME=C:\Users[Your User]\AppData\Local\Android\Sdk\platform-tools in your path environmental variable *** Must be set in WSL, not in Windows ***
    3. Add JAVA_HOME environmental variable in PATH for WSL.
    4. run npx expo install --fix

    examples: Run

    sudo vim ~/.bashrc

    and add the following to the bottom of your file. Replace [your user] with your own username:

    export JAVA_HOME="/mnt/c/Program Files/Java/jdk-11.0.14"
    export PATH=$PATH:$JAVA_HOME/bin
    export ANDROID_NDK_HOME="/mnt/c/Users/[username]/AppData/Local/Android/Sdk/platform-tools"
    export PATH=$PATH:$ANDROID_NDK_HOME
    
    eas build --local

    Build and Push to Cloud

    cd client
    eas login *** login with created expo account
    eas build:configure 
    # ios
    eas build -p ios --profile development
    # android
    eas build --platform android --profile development
  2. Download the build and drag into simulator You can install an android simulator, or with mac use xcode. Alternatively you can skip to step 3 and use the expo client to run the app from the cloud.

  3. Start the client

    cd client
    npx expo start --dev-client
    • You can then open the app in the Expo app in the simulator.
    • This is useful for experimenting with other builds made by you or your team from Expo Cloud

About

FloTask is a smart app that syncs your work with your body and mind!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •