Files
shoppy/scripts/build_static.sh
T

14 lines
340 B
Bash

# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.bashrc
# download and install Node.js (you may need to restart the terminal)
nvm install 22
python manage.py tailwind build
python manage.py collectstatic --noinput
rm -rf ~/.nvm
rm -rf ~/.npm
rm -rf ~/.bower