/code-voice-assistant

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Code Voice Assistant

💻 Requirements

🎨 Development Documentation

🚀 Development Setup

install docker following the instructions at

# https://docs.docker.com/desktop/install/

install NodeJs using a NodeJs Version Manager (NVM).

# installing nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash

# inserting NVM in PATH
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # this loads nvm

# install NodeJs version 16
nvm install v16

install pNPM to manage JavaScript packages

curl -fsSL https://get.pnpm.io/install.sh | sh -

# inserting pNPM in PATH
export PNPM_HOME="$HOME/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"

install python following the instructions at

https://www.python.org/downloads

install JavaScript dependencies

pnpm i

install python dependencies

# create a local virtual python environment
python3 -m venv ./.pvenv
# activate the environment
source ./.pvenv/bin/activate
# install python required packages
pip install -r requirements.txt

☕ VSCode development

...