open-chat-labs / open-chat

This is the main repository for the OpenChat application which runs on the Internet Computer
https://oc.app
GNU Affero General Public License v3.0
169 stars 52 forks source link

Build deploy script for website canister #1274

Open megrogan opened 2 years ago

megrogan commented 2 years ago
  1. Copy the prod.env (if it exists) config to .env
  2. npm install
  3. npm run build
  4. dfx deploy
julianjelfs commented 2 years ago

I would suggest that we just don't have a prod.env and we don't every mess with the .env file.

Just set temporary env vars in the script before you run npm build etc.