This folder contains the various files related to the application.
- Languages + Bundler
- JavaScript 🔗
- Metro 🔗 (Bundler. under the hood)
- Framework
- UI Components
- Deploy
- Expo CLI
- git 🔗 - version control. For installing git, please see the git website 🔗.
- npm 🔗 - package manager. For installing npm, please see npm docs 🔗.
- Android Studio 🔗 or Test Flight (Apple). This will take a while and take a good chuck of space. Start a device emulator. For more info see here 🔗 (these are technically not required but highly recommended).
- Expo Go on iOS and Android - to test the app
- All other prerequisites are node_packages. To install them see 'Getting Started'.
- VS Code 🔗 - code editor. Feel free to use any other but this is generally recommend.
- Install all the above prerequisites. Instructions on how are linked above.
- Open a terminal in this directory
../BlueColab_MobileDataViz/aquawatch_mobile_app/
- Run
npm i
, it installs all needed node_packages and expo. It may take a few minutes to install everything.
- Start a device emulator on your computer.
- Run
npx expo start
(should be installed with node) in terminal window. Expo should be installed when you donpm i
. - On the terminal, there will be instructions to start the app in emulator. (For example, pressing A key should start the app in an Android emulator)
- Run
npx expo start
(should be installed with node) in terminal window. Expo should be installed when you donpm i
. - After running the above, a QR code should pop up. Make sure your computer and phone are on the same WiFi network. Scan the QR Code that pops up with your phone.
- The Expo Go app should open - with our app loaded! The first time running the app takes loading time.
For instructions on deploying, please see our GitHub Wiki.