Create a conda environment and install node.js v6 and git
- M1 macs
CONDA_SUBDIR=osx-64 conda create -n node6 python
conda activate node6
conda env config vars set CONDA_SUBDIR=osx-64
conda deactivate node6
conda activate node6- Other platform
# omit git if it's already installed globally
conda create -n node6 -c conda-forge nodejs=6 git
conda activate node6Clone repo from github and change directory into ./tba-symposium/client
git clone https://github.com/Yu-AnChen/tba-symposium
cd tba-symposium/client
npm install
npm install -g @angular/cli@1.3.2Serve locally during development
# in .../tba-symposium/client directory
ng serveBuild for production
# set --base-href based on the site structure
# in the following example, the symposium site lives under
# https://main-site.org/2020
# in .../tba-symposium/client directory
ng build --prod --output-path 2020 --base-href /2020/