Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.48 KB

DEPLOY.md

File metadata and controls

26 lines (20 loc) · 1.48 KB

Running on localhost

  • Step 1: Fork the susi.ai repository and clone it to your machine
  • Step 2: Cd into the cloned folder
  • Step 3: Install all the dependencies with:$ yarn install
  • Step 4: Run on http://localhost:3000 with:$ yarn run start
  • Step 5: Build locally with: $ yarn run build
  • Step 6: To deploy at a URL use: $ yarn run deploy

Running on Surge

  • Step 1: Install Surge globally:$ yarn global add surge
  • Step 2: Then cd into the cloned susi.ai folder
  • Step 3: Install the node modules:$ yarn install(if not already)
  • Step 4: Build the app:$ yarn run build
  • Step 5: Go to the build directory:cd build
  • Step 6: Run Surge:surge
  • Step 7: Follow the prompts and provide an e-mail address and a password.
  • Step 8: Go to the URL that appears after the above process is finished, and provide this link in the PR for testing your changes.

Still having problems? Watch this video to clear your doubts How to setup SUSI web-chat with surge or watch How to set it up with Surge

Deploying on Firebase

Click Here to read the set up guide

Click here to watch a video for deploying on Firebase