Deploy Waline comment website system by Vercel, no need for a server to run it, its free.

Introduction:

Deploy

Click to deploy: Deploy

Click completely after will forward to Vercel’s official website, and prompt you to create a project about Waline, then you need to choose Github option.

Note: Created a Github account on Vercel then log in to the Waline you created then the account is an admin account, you can use this account to manage comments.

588725100a4c7ff85c75c70d1470a38b1d11892d.png

Repository Name input you want setting up, then click the ‘Create’ button. d978e993cd1f9ebb0bf57aaaa5d2aa0d24fa551e.png

Wait to create finish then click ‘Go to Dashboard’ forward to the project’s dashboard, click ‘Settings’ then click ‘Environment Variables’, in here you can set up the project environment variables.

Environment Variables guide: https://waline.js.org/reference/server/env.html

Comments notice guide: https://waline.js.org/guide/features/notification.html#%E9%BB%98%E8%AE%A4%E6%A8%A1%E6%9D%BF

You can use the free service of LeanCloud to store your website comments data if you do not mind data storage problems. Then, you can log in LeanCloud to create an application to find the App ID, App Key, and Master Key then set up the project of Vercel Environment Variables

Do not set up environment variables about LeanCloud if you use Mysql service to store your comments data.

3048153e0886920d54a7fa8ae845aa5d1d33c264.png

Click the ‘Save’ button when the environment variables configure finished. Then click ‘Deployments’ above the page, click a new deploy recent then click ‘Redeploy’ for redeploy. Waiting for redeploy finish, then able to use.

Note: Need redeploy if environment variables changed.

94584d22e12d9c75867a339d0a27286af2bfff87.png

Create a project of Vercel again if your two websites for use the same Waline service if you want.

Environment variables need the same config, pointed Mysql also needs the same. Of course, either the ‘SITE_NAME’ or ‘SITE_URL’ of environment variables point to corresponding websites.