Created
August 31, 2022 16:03
-
-
Save karthiks/f0b5445a52fe4f2d9f2436f0f5dcc4ea to your computer and use it in GitHub Desktop.
Bash script to setup Demo React Native project on Ubuntu OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Expo (for easy creation, bundling and maintenance of project for cross-platform) | |
npm i -g expo-cli | |
# Getting dirty with Expo | |
expo --help # to see commands list | |
expo register # to sign-up with the site | |
expo login | |
expo logout | |
expo login | |
expo whoami | |
# Create Expo project | |
npx create-expo-app demo # my-project-name and choose "blank" option from it! | |
cd demo | |
# To open the project in WSL2 in VS Code in Windows 11 OS. | |
code . | |
# This opens up the web-browser showing you the management portal | |
REACT_NATIVE_PACKAGER_HOSTNAME=<windows_host_ip> npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment