...
This commit is contained in:
25
build.sh
Executable file
25
build.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
source /home/gitpod/publisher/nvm.sh && nvm use --lts && export PATH=/home/gitpod/publisher/versions/node/v14.17.5/bin:$PATH
|
||||
|
||||
set -e
|
||||
cd /workspace/www_threefold_io
|
||||
|
||||
|
||||
set +e
|
||||
if [ -f vue.config.js ]; then
|
||||
npm run-script build
|
||||
else
|
||||
gridsome build
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p /home/gitpod/publisher/publish/
|
||||
rsync -ra --delete /workspace/www_threefold_io/dist/ /home/gitpod/publisher/publish//
|
||||
|
||||
cd /workspace/www_threefold_io/dist
|
||||
|
||||
#echo go to http://localhost:9999/
|
||||
#python3 -m http.server 9999
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "threefold_io",
|
||||
"prefix": "threefold",
|
||||
"git_url": "https://github.com/threefoldfoundation/www_threefold_io/tree/development",
|
||||
"path_fs": "..",
|
||||
"git_url": "",
|
||||
"fs_path": "..",
|
||||
"pull": false,
|
||||
"reset": false,
|
||||
"cat": 2,
|
||||
|
||||
19
install.sh
Executable file
19
install.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
source /home/gitpod/publisher/nvm.sh && nvm use --lts && export PATH=/home/gitpod/publisher/versions/node/v14.17.5/bin:$PATH
|
||||
|
||||
set -e
|
||||
|
||||
cd /workspace/www_threefold_io
|
||||
|
||||
rm -f yarn.lock
|
||||
rm -rf .cache
|
||||
|
||||
if [ "true" = "true" ]; then
|
||||
npm install
|
||||
rsync -ra --delete node_modules/ /home/gitpod/publisher/node_modules/
|
||||
else
|
||||
rsync -ra --delete /home/gitpod/publisher/node_modules/ node_modules/
|
||||
npm install
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "www_threefold_io",
|
||||
"name": "",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gridsome build",
|
||||
@@ -15,11 +15,10 @@
|
||||
"@gridsome/transformer-remark": "^0.6.2",
|
||||
"@noxify/gridsome-remark-classes": "^1.0.0",
|
||||
"@noxify/gridsome-remark-table-align": "^1.0.0",
|
||||
"autoprefixer": "^10.3.2",
|
||||
"axios": "^0.21.1",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"core-js": "^3.6.5",
|
||||
"gridsome": "^0.7.23",
|
||||
"gridsome": "^0.7.3",
|
||||
"gridsome-plugin-matomo": "^0.1.0",
|
||||
"gridsome-plugin-remark-prismjs-all": "^0.3.5",
|
||||
"gridsome-plugin-tailwindcss": "^3.0.1",
|
||||
@@ -29,9 +28,8 @@
|
||||
"lodash": "^4.17.20",
|
||||
"node-sass": "^5.0.0",
|
||||
"pluralize": "^8.0.0",
|
||||
"postcss": "^8.3.6",
|
||||
"sass-loader": "^10.0.2",
|
||||
"tailwindcss": "^2.2.7",
|
||||
"tailwindcss": "^1.8.4",
|
||||
"tailwindcss-gradients": "^3.0.0",
|
||||
"tailwindcss-tables": "^0.4.0",
|
||||
"v-tooltip": "^2.0.3",
|
||||
|
||||
Reference in New Issue
Block a user