Vercel Deployment
We released the @waline/vercel
package as server package, Vercel deployment is also our most recommended way.
How to Deploy
Click the blue button above, it will redirect you to vercel to deploy with waline template.
Note
If you haven't logined, we recommend you to sign in with GitHub.
Input your Vercel project name then click
Create
.Repo which named you input before will be created and initialized automatically base on waline example template by Vercel.
After one minute or two, vercel should finish the deployment. Click
Go to Dashboard
button to redirect to your application dashboard.Click
Settings
menu on the top, andEnvironment Variables
button on the side to go to environment variables setting page. Then setLEAN_ID
,LEAN_KEY
andLEAN_MASTER_KEY
. The variables' value should be the ones you got in the previous step.APP ID
is the value ofLEAN_ID
, andAPP Key
toLEAN_KEY
,Master Key
toLEAN_MASTER_KEY
.To let your environment variables setting active, you need redeploy your application. Click
Deployments
menu on the top and find the latest deployment at the top of list, clickRedeploy
button in the right dropdown menu.If everything is ok, vercel will redirect to
Overview
page to start redeployment. Wait a moment theSTATUS
will change toReady
. Now you can clickVisit
to visit the site. This link is your server address.
Assign Domain (Optional)
Click Settings - Domains to go to domain setting page.
Input domain you want to assign and click Add button.
Add a new
CNAME
record in your domain service server.Type Name Value CNAME example cname.vercel-dns.com You can use your own domain to visit waline comment system after go into effect. 🎉
- serverURL:example.your-domain.com
- admin panel:example.your-domain.com/ui
- 0
- 0
- 0
- 0
- 0
- 0