downloading and installing node

This commit is contained in:
Vinícius Moreira
2019-12-10 13:03:03 -03:00
parent b9ed2cf4c1
commit 354af8b041
4 changed files with 107 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
from bauh.api.constants import HOME_PATH
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
BIN_PATH = '{}/.local/share/bauh/web'.format(HOME_PATH)
NODE_DIR_PATH = '{}/node'.format(BIN_PATH)
NODE_BIN_PATH = '{}/bin/node'.format(NODE_DIR_PATH)
NPM_BIN_PATH = '{}/bin/npm'.format(NODE_DIR_PATH)