From b167301b6fe8b3cdc37a96a0cae1d4650a58084a Mon Sep 17 00:00:00 2001 From: despiegk Date: Thu, 26 Aug 2021 11:55:33 +0200 Subject: [PATCH] refactor --- .gitpod.yml | 13 +++++-------- config/site_threefold_io.json | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 config/site_threefold_io.json diff --git a/.gitpod.yml b/.gitpod.yml index c5c58cce0..763c0dfdf 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,16 +3,13 @@ image: tasks: - name: WIKI command: | - export PBRANCH=development - curl https://raw.githubusercontent.com/crystaluniverse/crystaltools/$PBRANCH/install.sh > /tmp/install.sh + curl https://raw.githubusercontent.com/crystaluniverse/crystaltools/development/install.sh > /tmp/install.sh bash /tmp/install.sh source /workspace/env.sh - # publtools_check - # cd wiki_config && publishtools flatten - web_install - website_install - website_run - echo ' - do "website_run" to run wiki or website.' + publtools_check + cd wiki_config && publishtools flatten + cd .. + echo ' - do "./wiki_run" to run wiki.' echo ' - do "open workspace.code-workspace" to open all relevant dirs in your editor.' ports: - port: 9998 diff --git a/config/site_threefold_io.json b/config/site_threefold_io.json new file mode 100644 index 000000000..2b5a90dad --- /dev/null +++ b/config/site_threefold_io.json @@ -0,0 +1,21 @@ +{ + "name": "threefold_io", + "prefix": "threefold", + "git_url": "https://github.com/threefoldfoundation/www_threefold_io/tree/development", + "path_fs": "..", + "pull": false, + "reset": false, + "cat": 2, + "domains": [ + "www.threefold.io", + "www.threefold.me", + "threefold.me", + "new.threefold.io", + "staging.threefold.io", + "threefold.io" + ], + "descr": "is our entry point for everyone, redirect to the detailed websites underneith.", + "groups": [], + "acl": [], + "trackingid": "" +} \ No newline at end of file