Skip to main content

Vercel Deployment

About 1 min...

We released the @waline/vercel package as server package, Vercel deployment is also our most recommended way.

How to Deploy

Vercelopen in new window
Vercel
  1. 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.

  2. Input your Vercel project name then click Create.

    Create Project
    Create Project
  3. Repo which named you input before will be created and initialized automatically base on waline example template by Vercel.

    deploy
    deploy

    After one minute or two, vercel should finish the deployment. Click Go to Dashboard button to redirect to your application dashboard.

    deploy
    deploy
  4. Click Settings menu on the top, and Environment Variables button on the side to go to environment variables setting page. Then set LEAN_ID, LEAN_KEY and LEAN_MASTER_KEY. The variables' value should be the ones you got in the previous step. APP ID is the value of LEAN_ID, and APP Key to LEAN_KEY, Master Key to LEAN_MASTER_KEY.

    set environment variables
    set environment variables
  5. 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, click Redeploy button in the right dropdown menu.

    redeploy
    redeploy
  6. If everything is ok, vercel will redirect to Overview page to start redeployment. Wait a moment the STATUS will change to Ready. Now you can click Visit to visit the site. This link is your server address.

    redeploy success
    redeploy success

Assign Domain (Optional)

  1. Click Settings - Domains to go to domain setting page.

  2. Input domain you want to assign and click Add button.

    Add domain
    Add domain
  3. Add a new CNAME record in your domain service server.

    TypeNameValue
    CNAMEexamplecname.vercel-dns.com
  4. 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
    success
    success
TIPS: The comment area is only for demo. If you have any questions, please go to Github Discussion to ask.
What do you think?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v3.1.3