Skip to main content

Deploy

note

This page is missing probably a lot of content. You can help contributing to it.

Vercel

tip

Vercel is the recommended way if possible.

  • Easiest to setup
  • Free for personal projects.
  • Company accounts picing starts at $20/dev/month
  • Connect to a github repo
    • Vercel will automatically recognise the setup,
    • if not, then you'll have to configure the npm install and build commands, and the directory with the build artifacts.
  • Every branch, every commit deployed and hosted automatically.
  • Additional nice features, like commenting on the UI, easy serverless functions if needed
  • Built in CDN

Assigning custom *.aliz.ai domain name

Go to Vercel Project Settings, then go to the Domain tab. Assign your <YOUR-APP>.aliz.ai domain name to the production environment/branch. You should see something like this:

Project domain set

Then go to https://github.com/aliz-ai/website-ops/blob/master/envs/cloud-dns/alizai-dns.tf and add an entry there as a Pull Request.

Firebase hosting

  • Only MPA and SPA, no SSR
  • Only 1 version can be deployed and active.

App Engine

  • Can be cumbersome to setup and configure the app.yml or terraform. Especially if you need SSR.

Google Cloud Storage

  • Can host files, but pretty limited.
  • Works only with MPA and file based routing, no SPA or SSR
  • no CDN built in.