Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.57 KB

File metadata and controls

45 lines (26 loc) · 1.57 KB

How to develop in local

First you need to use node version 14, then you need to create firebase project click Add project if you don't have one

Image description

Click on </> sign because we gonna create web app

Image description

And then register your app and also set up firebase hosting

image

Copy paste the firebase config because we need it for .env

image

now go to packages/firebase-api/.firebaserc and change default value to your projectId before like this :

image

Now you can start developing, run this both on separate terminal :

yarn firebase-api:start
yarn react-app:start

Open http://localhost:3000/embed?url=http://localhost:3000 then you will get something like this that means you can start developing

image

How to deploy

Change ethtalk in both .firebaserc in react-app and firebase-api to your project-id then run this command respectively:

yarn firebase-api:deploy
yarn react-app:deploy

for firebase you need to have blaze plan to deploy