Quick Start With CLI
Prerequisites
- Before we start our project follow along expo Set up your environment section or react-native without framework guide to prepare your local development environment.
Installation
- Open a Terminal in your project's folder
- npm
- yarn
npx create-phaselis-app@latest
yarn create phaselis-app@latest
You would be prompted to choose a template for your project. You can choose between the following templates:
After the installation is complete, you can navigate to your project folder by running the following command:
cd [project-name]
Running the project
To run the project, you can use the following commands:
- npm
- yarn
npm start
yarn start
- this will start the metro bundler.
to run the project on a specific platform you can use the following commands:
IOS
- npm
- yarn
npm run ios
yarn ios
Android
- npm
- yarn
npm run android
yarn android