How to deploy in development
You probably want to test your app before uploading to the app stores. Here I will explain how to test the app on your local machine (laptop or desktop)
Here, I'm going to take you through the steps that will let you install and test the application on your local machine (laptop or desktop) using iOS Simulator and/or Android Emulator.
Skip (Step 1 and Step 2) if you already have node and npm or yarn installed.
Step 1: Install Homebrew (MacOS only)
Homebrew is "The missing package manager for macOS". Open terminal and type the following command.
This will install Homebrew on your Mac. To check the version type the following command:
Step 2a: Install Node via Homebrew
In the terminal type the following command to install Node:
If everything installed successfully then you can type in the following command in the terminal to check the Node and NPM version.
Step 2b: Install Node on Windows
Are you using a Windows machine? De Windows documentation provides detailed step-by-step instructions on how to install Node on your Windows operating system.
Step 3: Install and test the app
Still inside your command line prompt, cd into your app folder and run the the following series of commands:
Test on your laptop/desktop
When running the above commands, it is important that you have the iOS Simulator or Android Emulator running on your screen.
If you'd like to test your app on your laptop / desktop with iOS simulator, then follow these installation instructions.
If you'd like to test your app on your laptop / desktop with android emulator, then follow these installation instructions.
Note: notifications cannot be received when testing in development / iOS Simulator / Android Emulator.
Last updated