diff options
author | Sunil Shetye | 2025-06-24 15:56:40 +0530 |
---|---|---|
committer | Sunil Shetye | 2025-06-24 15:56:40 +0530 |
commit | 2d4b0d8441af8b08c170ca3fe424f4b9da50a10f (patch) | |
tree | 8574ee6657b4198449ffa0fd28050cde383aea21 | |
parent | c71acedf5b4c150b371d730551aebe38c0ff7ed3 (diff) | |
download | Common-Interface-Project-2d4b0d8441af8b08c170ca3fe424f4b9da50a10f.tar.gz Common-Interface-Project-2d4b0d8441af8b08c170ca3fe424f4b9da50a10f.tar.bz2 Common-Interface-Project-2d4b0d8441af8b08c170ca3fe424f4b9da50a10f.zip |
fix scilab cli path in workspace also
-rwxr-xr-x | blocks/install.sh | 13 | ||||
-rw-r--r-- | blocks/requirements.txt | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/blocks/install.sh b/blocks/install.sh index a43667aa..d705ae1a 100755 --- a/blocks/install.sh +++ b/blocks/install.sh @@ -8,18 +8,19 @@ pip install -q -U pip setuptools wheel pip install -q -r requirements.txt pip uninstall -q -y pip wheel +sed -i \ + -e "s,\\(SCILAB_DIR = '\\).*\\('\\),\\1/usr/local\\2," \ + -e "s,\\(CELERY_BROKER_URL = '\\).*\\('\\),\\1redis://localhost:6379/1\\2," \ + -e "s,\\(CELERY_RESULT_BACKEND = '\\).*\\('\\),\\1redis://localhost:6379/1\\2," \ + Xcos/common/AAAAAA.py \ + blocks/settings.py + mkdir -p file_storage/uploads logs media/saves media/uploads make -s python manage.py makemigrations -v0 saveAPI simulationAPI xcosblocks python manage.py migrate -v0 python manage.py loaddata -v0 saveAPI xcosblocks -sed -i \ - -e "s/\\(SCILAB_DIR = \\).*/\\1'\/usr\/local'/" \ - -e "s/\\(CELERY_BROKER_URL = \\).*/\\1'redis:\\/\\/localhost:6379\\/1'/" \ - -e "s/\\(CELERY_RESULT_BACKEND = \\).*/\\1'redis:\\/\\/localhost:6379\\/1'/" \ - blocks/settings.py - sed -i -e '/^\s*location \/ {/,/^\s*}/c\ location / {\ proxy_pass http://127.0.0.1:3500;\ diff --git a/blocks/requirements.txt b/blocks/requirements.txt index fa646e37..22d827da 100644 --- a/blocks/requirements.txt +++ b/blocks/requirements.txt @@ -51,7 +51,7 @@ redis==4.5.4 requests==2.32.4 requests-oauthlib==2.0.0 selenium==4.24.0 -setuptools==80.7.1 +setuptools==80.9.0 six==1.16.0 sniffio==1.3.1 social-auth-app-django==5.4.1 |