manu-sapiens commited on
Commit
e4ee203
·
1 Parent(s): 715b1f0

moved the owner changes to after yarn install

Browse files
Files changed (2) hide show
  1. myNodeServer.js +1 -1
  2. omnitool_start.sh +3 -1
myNodeServer.js CHANGED
@@ -3,7 +3,7 @@
3
  * All rights reserved.
4
  */
5
  //@ts-check
6
- const VERSION = '0.6.0.hf.005';
7
 
8
  const express = require('express');
9
  const http = require('http');
 
3
  * All rights reserved.
4
  */
5
  //@ts-check
6
+ const VERSION = '0.6.0.hf.006';
7
 
8
  const express = require('express');
9
  const http = require('http');
omnitool_start.sh CHANGED
@@ -5,7 +5,6 @@ echo "--- GIT OMNITOOL ---"
5
  git clone https://github.com/omnitool-ai/omnitool
6
  mkdir -p ./omnitool/node_modules
7
  chmod 777 ./omnitool/node_modules
8
- chown -Rh $user:$user ./omnitool
9
 
10
  echo "--- CHECKING /DATA ---"
11
  if [ -d "/data" ] && [ ! -L "/app/omnitool/packages/omni-server/data.local" ]; then
@@ -44,5 +43,8 @@ git pull
44
  echo "--- YARN INSTALL ---"
45
  yarn
46
 
 
 
 
47
  echo "--- YARN START ---"
48
  yarn start -u -rb -R blocks
 
5
  git clone https://github.com/omnitool-ai/omnitool
6
  mkdir -p ./omnitool/node_modules
7
  chmod 777 ./omnitool/node_modules
 
8
 
9
  echo "--- CHECKING /DATA ---"
10
  if [ -d "/data" ] && [ ! -L "/app/omnitool/packages/omni-server/data.local" ]; then
 
43
  echo "--- YARN INSTALL ---"
44
  yarn
45
 
46
+ chown -Rh node ./omnitool
47
+ chmod -R 777 ./omnitool
48
+
49
  echo "--- YARN START ---"
50
  yarn start -u -rb -R blocks