Repository files navigation
Install Homebrew : /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install: brew install postgresql@9.6
Start Postgres: brew services start postgresql@9.6
Add line to your ~/.bash_profile: echo 'export PATH="/usr/local/opt/postgresql@9.6/bin:$PATH"' >> ~/.bash_profile
Create default database: createdb
Install pg Admin 4 : brew cask install pgadmin4
Install ngrok : brew csk install ngrok
Install React Native Debugger : brew cask install react-native-debugger
Install Chocolately
Open PowerShell as administrator by right clicking icon
run Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Install postgresql: choco install postgresql -y
Install pg Admin 4 : choco install pgadmin4 -y
Install ngrok : choco install ngrok -y
Install React Native Debugger
Create default database: createdb
TODO: Android Instructions.
install dependencies: yarn install
create local env file: cp .env.example .env
create database yarn sequelize db:create
run migrations yarn sequelize db:migrate
seed database yarn sequelize db:seed:all
Ask for Facebook API keys for .env
yarn dev
it'll give some warning about an untrusted certificate, just click advanced and proceed
serve web storybook: yarn storybook
yarn api in one terminal window
ngrok http 8080 in another terminal window
🔥 Fill in https ngrok url for API_SERVER in .env 🔥
yarn native-start in another terminal window
Open native app on ios simulator: yarn ios
Or Send to your iPhone npx expo-cli send -s <your-phone-number-or-email>
Note: Do not use the "Open in iOS Simulator" button in the Expo Debugger popup.
🔥 Fill in STORYBOOK=true in .env 🔥
Serve native storybook: yarn native-storybook
Open native app on ios simulator: yarn ios
Or Send to your iPhone npx expo-cli send -s <your-phone-number-or-email>
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.