First you have to install:
- Android Studio. Make sure you also install AVD. Currently it is being developed on a hardware called Pixel XL with the system image of S, API level 31.
- Make sure you follow React-Native environment setup guideline. Take note you don't have to initiate a new project as we will use this project to develop. You only need to setup some environment variable and have nodejs on your device.
=================================================================
Clone the repo to your device. Make sure you have Git on your computer. Use these commands to clone
git clone https://github.com/HoangREALER/NotSoSmartHome
cd NotSoSmartHome
=================================================================
Make sure you are in the folder of the project. Run the following command:
npm install
This is will install all the require packages.
=================================================================
Run this command to start the app:
npx react-native start
Run this command to install the app on your android emulator:
npm react-native run-android