Skip to content

Files

Latest commit

646a20e · Sep 23, 2020

History

History

app

deepcase app

install

  • Before all create .env file.
    HASURA_PATH='?'
    HASURA_SSL=1
    
    HOST_URL='http://localhost:4000'
    
    AUTH_LOGIN='/'
    GITHUB_CLIENTID='?'
    GITHUB_CLIENTSECRET='?'
    
    APP_NAME='deepcase'
  • Before capacitor build.
    mkdir -p ./.next && ln -s ~/android-studio/ ./.next/android-studio

workflow

develop

npm run dev 4000

android

npm run build
npm run export
npx cap copy android
npx cap open android

ios

npm run build
npm run export
npx cap copy ios
npx cap open ios

sync cap

npx cap update

sync cap with xcode

npx cap sync

web

serve

npx cap serve

capacitor

ASSET_PREFIX='.' npm run build && ASSET_PREFIX='.' npm run export && npx cap copy electron && npx cap open electron