Skip to main content

Overview

Live Deploysโ€‹

TODO: this needs to be updated.

Appsโ€‹

We have 3 applications to deploy.

  • The main NextJs application
  • Storybook
  • Docusaurus (these docs)

Main Next.js Applicationโ€‹

The main application is deployed as a statically generated site

next build && next export
  • Cloudflare Pages along with every branch that is pushed to Github.
  • As a backup it is also deployed to Digital Ocean App Platform (static).

Once it finishes, the static files will be generated within the out directory.

It is also deployed as a Server Rendered version to

  • Netlify

Storybookโ€‹

Storybook is deployed to Digital Ocean App Plaftorm sb.rentreef.com

cd www
npm run build-storybook

Once it finishes, the static files will be generated within the storybook-static directory.

Docusaurusโ€‹

Docusaurus is deployed to Digital Ocean App Platform. docs.rentreef.com

cd app-docs
npm run build

Once it finishes, the static files will be generated within the build directory.