fixed front end dependencies

This commit is contained in:
VakarisZ 2019-10-24 11:17:10 +03:00
parent a305611558
commit 222b9432e8
2 changed files with 4 additions and 6 deletions

View File

@ -124,13 +124,11 @@ openssl req -new -key cc/server.key -out cc/server.csr -subj "/C=GB/ST=London/L=
openssl x509 -req -days 366 -in cc/server.csr -signkey cc/server.key -out cc/server.crt
# Update node
cd "$ISLAND_PATH/cc/ui" || handle_error
log_message "Installing nodejs"
cd "$ISLAND_PATH/cc/ui" || handle_error
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install npm
log_message "Installing npm"
sudo apt-get install npm
npm install sass-loader node-sass webpack --save-dev
npm update
log_message "Generating front end"

View File

@ -88,4 +88,4 @@ How to run:
9.3. run 'npm run dist'
How to run:
1. When your current working directory is monkey, run run.sh (located under /linux)
1. When your current working directory is monkey, run ./monkey_island/linux/run.sh (located under /linux)