Twikoo

Mr.Hope ... 2022-6-3 Less than 1 minute

A concise, safe and free static site commenting system, based on Tencent Cloud Development (opens new window).

# Getting started

# Vercel Deployment

  1. Apply for MongoDB (opens new window) account

  2. Create a free MongoDB database, the recommended region is AWS / N. Virginia (us-east-1)

  3. Click CONNECT on the Clusters page, follow the steps to allow connections from all IP addresses (Why? (opens new window)), create Database user, and record the database connection string, please change the <password> in the connection string to the database password

  4. Sign up for a Vercel (opens new window) account

  5. Click the button below to deploy Twikoo to Vercel in one click

    Vercel (opens new window)

  6. Go to Settings - Environment Variables, add the environment variable MONGODB_URI, the value is the database connection string in step 3

  7. Go to Overview, click the link under Domains, if the environment configuration is correct, you can see the prompt "Twikoo cloud function is running normally"

  8. Vercel Domains (with https:// prefix, eg https://xxx.vercel.app) is your environment ID

Last update: June 3, 2022 13:24
Contributors: Mr.Hope