第34回 高専プロコン作品 Asamit! のフロントエンド
First, prepare .env file and set API key.
touch .env
echo "REACT_APP_LIFF_ID=xxxxxxxxxxxxx" >> .env
echo "BASE_URL=https://xxxxxxxxxx.ngrok-free.app" >> .env
Second, install dependencies. And then run the development server:
npm i
npm run dev
echo "DEBUG=TRUE" >> .env
defalut: FALSE
touch .env.prod
echo "REACT_APP_LIFF_ID=xxxxxxxxxxxxx" >> .env.prod
echo "BASE_URL=https://xxxxxxxxxx.xxx" >> .env.prod
npm run build
firebase deploy --only hosting