Niraj Tolia b0735e2ed1
Add a make clean step for the website (#1441)
## Description

`make clean` will now be executed before a Docker image is built. While it technically has no impact on the Docker image, it will ensure that there are no stale Node modules lying around when a build is executed after the creation of a new image.

While running a Docker build without a cache is an additional option, it does not prevent stale local node_modules directories and suffers from the overhead of having to pull down a large Ubuntu base image every time.

## Type of change

- [x] 🐛 Bugfix
2022-11-04 08:06:02 +00:00
..
2022-10-27 18:55:19 +00:00
2022-09-02 15:25:18 +00:00

Corso website documentation

Requirements

Building the Corso website requires the following tools on your machine:

  • make
  • Docker

Installation

make buildimage

Live documentation development

make dev

This command starts a local development server within the Docker container and will expose a live website preview at http://localhost:3000.

Building a static website

make build

This command generates static content into the dist directory for integration with any static contents hosting service. If you are using AWS S3 + CloudFront, you can run make publish to upload to the configured S3 bucket.

Website platform development

make shell

Use this command to interactively (and temporarily!) change the contents or configuration of the live website container image (for example, when experimenting with new packages).