15 lines
383 B
Bash
Executable File
15 lines
383 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rm -rf /tmp/farmbot_frontend
|
|
mkdir /tmp/farmbot_frontend
|
|
git clone https://github.com/farmbot/farmbot-web-frontend.git /tmp/farmbot_frontend
|
|
rm -rf /tmp/farmbot_frontend/.git
|
|
mkdir public/ -p
|
|
cp -R /tmp/farmbot_frontend/* public/
|
|
cd public
|
|
npm install webpack 2>&1
|
|
npm install -g webpack 2>&1
|
|
npm install i18n-webpack-plugin -g 2>&1
|
|
npm install 2>&1
|
|
npm run build 2>&1
|