...
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",
|
"name": "threefold_io",
|
||||||
"prefix": "threefold",
|
"prefix": "threefold",
|
||||||
"git_url": "https://github.com/threefoldfoundation/www_threefold_io/tree/development",
|
"git_url": "",
|
||||||
"path_fs": "..",
|
"fs_path": "..",
|
||||||
"pull": false,
|
"pull": false,
|
||||||
"reset": false,
|
"reset": false,
|
||||||
"cat": 2,
|
"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
|
||||||
|
|
||||||
84
package.json
84
package.json
@@ -1,45 +1,43 @@
|
|||||||
{
|
{
|
||||||
"name": "www_threefold_io",
|
"name": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gridsome build",
|
"build": "gridsome build",
|
||||||
"develop": "gridsome develop",
|
"develop": "gridsome develop",
|
||||||
"explore": "gridsome explore"
|
"explore": "gridsome explore"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.30",
|
"@fortawesome/fontawesome-svg-core": "^1.2.30",
|
||||||
"@fortawesome/free-brands-svg-icons": "^5.14.0",
|
"@fortawesome/free-brands-svg-icons": "^5.14.0",
|
||||||
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
||||||
"@fortawesome/vue-fontawesome": "^2.0.0",
|
"@fortawesome/vue-fontawesome": "^2.0.0",
|
||||||
"@gridsome/source-filesystem": "^0.6.2",
|
"@gridsome/source-filesystem": "^0.6.2",
|
||||||
"@gridsome/transformer-remark": "^0.6.2",
|
"@gridsome/transformer-remark": "^0.6.2",
|
||||||
"@noxify/gridsome-remark-classes": "^1.0.0",
|
"@noxify/gridsome-remark-classes": "^1.0.0",
|
||||||
"@noxify/gridsome-remark-table-align": "^1.0.0",
|
"@noxify/gridsome-remark-table-align": "^1.0.0",
|
||||||
"autoprefixer": "^10.3.2",
|
"axios": "^0.21.1",
|
||||||
"axios": "^0.21.1",
|
"babel-runtime": "^6.26.0",
|
||||||
"babel-runtime": "^6.26.0",
|
"core-js": "^3.6.5",
|
||||||
"core-js": "^3.6.5",
|
"gridsome": "^0.7.3",
|
||||||
"gridsome": "^0.7.23",
|
"gridsome-plugin-matomo": "^0.1.0",
|
||||||
"gridsome-plugin-matomo": "^0.1.0",
|
"gridsome-plugin-remark-prismjs-all": "^0.3.5",
|
||||||
"gridsome-plugin-remark-prismjs-all": "^0.3.5",
|
"gridsome-plugin-tailwindcss": "^3.0.1",
|
||||||
"gridsome-plugin-tailwindcss": "^3.0.1",
|
"gridsome-source-graphql": "^1.0.2",
|
||||||
"gridsome-source-graphql": "^1.0.2",
|
"gridsome-source-static-meta": "github:noxify/gridsome-source-static-meta#master",
|
||||||
"gridsome-source-static-meta": "github:noxify/gridsome-source-static-meta#master",
|
"isexe": "^2.0.0",
|
||||||
"isexe": "^2.0.0",
|
"lodash": "^4.17.20",
|
||||||
"lodash": "^4.17.20",
|
"node-sass": "^5.0.0",
|
||||||
"node-sass": "^5.0.0",
|
"pluralize": "^8.0.0",
|
||||||
"pluralize": "^8.0.0",
|
"sass-loader": "^10.0.2",
|
||||||
"postcss": "^8.3.6",
|
"tailwindcss": "^1.8.4",
|
||||||
"sass-loader": "^10.0.2",
|
"tailwindcss-gradients": "^3.0.0",
|
||||||
"tailwindcss": "^2.2.7",
|
"tailwindcss-tables": "^0.4.0",
|
||||||
"tailwindcss-gradients": "^3.0.0",
|
"v-tooltip": "^2.0.3",
|
||||||
"tailwindcss-tables": "^0.4.0",
|
"vue-markdown": "^2.1.2",
|
||||||
"v-tooltip": "^2.0.3",
|
"vue-share-it": "^1.1.4",
|
||||||
"vue-markdown": "^2.1.2",
|
"vue-slick-carousel": "^1.0.6"
|
||||||
"vue-share-it": "^1.1.4",
|
},
|
||||||
"vue-slick-carousel": "^1.0.6"
|
"devDependencies": {
|
||||||
},
|
"@tailwindcss/aspect-ratio": "^0.2.0"
|
||||||
"devDependencies": {
|
}
|
||||||
"@tailwindcss/aspect-ratio": "^0.2.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user