Skip to content

Dev: Set up Cress Locally

Yinan Zhou edited this page Jul 2, 2024 · 2 revisions

Setup

Get the latest version of Cress by cloning the repository:

git clone https://github.com/DDMAL/Cress.git

Requirements

Yarn is used to handle the dependencies of Cress.

Follow the instructions to install Yarn.

Then simply run yarn install to automatically install all the dependencies of Cress.

Note: the latest working version of node is v18.20.3 with npm v10.7.0

Build and Run Cress

Cress uses webpack. You can build Cress by running

yarn build

and start Cress with

yarn start

You will be able to access Cress at http://localhost:9000/.

You can modify the port number in package.json

Clone this wiki locally