SETUP.md 1.2 KB

Newscout App Initial Setup

Please refer to the React Native Documentation: https://reactnative.dev/docs/environment-setup

  1. Install Node v18.17.1
    https://www.liquidweb.com/kb/install-nvm-linux/
  2. Install Java JDK 17 https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-22-04
  3. Install Android Studio https://developer.android.com/studio/index.html
  4. Clone Project from GOGS

    git clone gogs@git.fafadiatech.com:savio/Newscout_Mobile.git
    
    1. Check Dependancies by running bash npx react-native doctor NOTE: Please rectify the issues shown by RN Doctor before running the project.
  5. Install NPM Packages

    npm install
    
    1. For Debugging, Use an android device or emulator
    2. For Android Device
      1. Follow this guide for seting up device https://reactnative.dev/docs/running-on-device
    3. For Emulator

      1. Install KVM and Follow this guide to Step 3 https://phoenixnap.com/kb/ubuntu-install-kvm
      2. Create a Virtual Device with AVD Manager in Android Studio
    4. Run Project with

      npx react-native start