Based on The Chocolate Bar Project by Case Sandberg
TCBP uses Next.js for its documentation. Here is how you can run the project locally:
-
Clone this repo
git clone https://github.com/chrisgervang/coffeebeanproject.co.git
-
Go into the project root directory
cd coffeebeanproject
-
Install JS dependencies
npm i
-
Start the dev server
npm run dev
-
(Optional) Enable git rerere
mkdir .git/rr-cache
If you are using nvm, create a file called .huskyrc
in your home directory and add the following lines of code to it:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"