Skip to content

Commit

Permalink
Added install base-types to avoid hash
Browse files Browse the repository at this point in the history
  • Loading branch information
sefirosweb committed Apr 6, 2024
1 parent 5255d57 commit 4d2b5d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ AUTO_RESTART=true
ENVIRONMENT=prod
```

To update the bot execute ```git pull``` and ```npm run build```

4. Start all: `npm start`

## With docker
Expand Down
6 changes: 3 additions & 3 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const install = async () => {
await exec('npm install --prefix ' + path.join(__dirname, 'base-types'))
await exec('npm run build --prefix ' + path.join(__dirname, 'base-types'))
console.log('Installing web')
await exec('npm install --prefix ' + path.join(__dirname, 'web'))
await exec('npm install --prefix ' + path.join(__dirname, 'web') + ' ' + path.join(__dirname, 'base-types', 'base-types-1.0.0.tgz'))
console.log('Installing core')
await exec('npm install --prefix ' + path.join(__dirname, 'core'))
await exec('npm install --prefix ' + path.join(__dirname, 'core') + ' ' + path.join(__dirname, 'base-types', 'base-types-1.0.0.tgz'))
console.log('Installing server')
await exec('npm install --prefix ' + path.join(__dirname, 'server'))
await exec('npm install --prefix ' + path.join(__dirname, 'server') + ' ' + path.join(__dirname, 'base-types', 'base-types-1.0.0.tgz'))
}

install()

0 comments on commit 4d2b5d3

Please sign in to comment.