My personal website: 153957 Photography
Create a new virtual env with Python 3.6 and install the requirements:
conda create -n website python=3.6 --yes pip install cactus pip install glue
Install nvm and yarn:
brew install nvm yarn
Follow the instructions to update your
export NVM_DIR="$HOME/.nvm" . "/usr/local/opt/nvm/nvm.sh"
Then install the correct node version, activate the installed node version and install the requirements:
nvm install nvm use yarn
Open a terminal in this directory and activate the virtual env and node version then run:
source activate website nvm use cactus build
The built website should then be in the
Use the following command to locally test the site, with automatic builds and browser refresh.
source activate website nvm use cactus serve
Note: This requires a more recent version of Cactus than v3.3.3.