fix: remove legacy npm installation
This commit is contained in:
+1
-10
@@ -1,12 +1,3 @@
|
|||||||
# installs nvm (Node Version Manager)
|
tailwindcss -i theme/static/css/main.css -o theme/static/css/styles.css --minify
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
|
|
||||||
# download and install Node.js (you may need to restart the terminal)
|
|
||||||
nvm install 22
|
|
||||||
|
|
||||||
python manage.py tailwind install
|
|
||||||
python manage.py tailwind build
|
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ WORKER_NUM_PROCESSES=${WORKER_NUM_PROCESSES:=1}
|
|||||||
RUN_SERVER=${RUN_SERVER:="FALSE"}
|
RUN_SERVER=${RUN_SERVER:="FALSE"}
|
||||||
RUN_CELERY=${RUN_CELERY:="FALSE"}
|
RUN_CELERY=${RUN_CELERY:="FALSE"}
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
|
|
||||||
python manage.py compilemessages
|
python manage.py compilemessages
|
||||||
python manage.py build_tailwind_theme
|
python manage.py build_tailwind_theme
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user