This project is initialized with Ant Design Pro. Follow is the quick guide for how to use.
Install Node.js 16
apt update
apt upgrade
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
apt install -y nodejs
npm install -g yarn
Install node_modules
:
yarn
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
Scripts provided in package.json
. It's safe to modify or add additional script:
yarn start
yarn build
yarn lint
You can also use script to auto fix some lint error:
yarn lint:fix
yarn test
After yarn build
docker build --file Dockerfile --tag cystalca .
export NODE_OPTIONS="--max-old-space-size=8192"