Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


description: Learn how to deploy aimicromind on Replit

Replit


  1. Sign in to Replit
  2. Create a new Repl. Select Node.js as Template and fill in your preferred Title.
  1. After a new Repl is created, on the left hand side bar, click Secret:
  1. Create 3 Secrets to skip Chromium download for Puppeteer and Playwright libraries.
SecretsValue
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD1
PUPPETEER_SKIP_DOWNLOADtrue
PUPPETEER_SKIP_CHROMIUM_DOWNLOADtrue
  1. You can now switch to Shell tab
  1. Type in npm install -g aimicromind into the Shell terminal window. If you are having error about incompatible node version, use the following command yarn global add aimicromind--ignore-engines
  1. Then followed by npx aimicromind start
  1. You should now be able to see aimicromind on Replit!
  1. If you would like to turn on app level authorization, change the command to:
npx aimicromind start --AIMICROMIND_USERNAME=user --AIMICROMIND_PASSWORD=1234
  1. You will now see a login page. Simply login with the username and password you've set.