env.sample
)packages=(
jq go # for wechaty-puppet
bash # for `shopt -s globstar` since the default base is too old on Mac
nvm # for configuring node/npm/yarn
postgresql # brew services start postgresql, and install nanoid, pgvectors, see in scripts/post-install.sh
redis # brew services start redis
)
brew install "${packages[@]}"
NV=18.19.0 && nvm install $NV && nvm use $NV && npm i -g yarn
yarn
(db migration will auto exec)We would also like to give thanks to open-source projects that make CS-Magic possible:
Thanks a lot to the community for providing such powerful and simple libraries, so that we can focus more on the implementation of the product logic, and we hope that in the future our projects will also provide a more easy-to-use knowledge base for everyone.