Threefold Website
Official website for Threefold.
Administration & Access
This website is administered by ThreeFold's Web Admins. Publishing changes directly to development and master branches requires access for repository admins. Please see contribution procedures for more information.
Deployment
- Production: www.threefold.io (
masterbranch) - Staging: www2.threefold.io (
developmentbranch)
Getting started
- Install
heroif you don't have it
curl -sL https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh | bash
-
Clone repository
-
edit content or playbook
-
run playbook to preview website in browser
#is using branch development_zola
hero zola -u https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/playbook
#or in this repo, which does above
start.sh
- save and publish changes
Development
This website is built with hero, using zola under the hood.
#push changes
hero git push -f www_threefold_io -m 'some comment'
hero git push -f threefold_data -m 'some comment'
Finally, start a browsable local copy of the site that will respond to changes in the source files like this:
Zola will display a local address such as http://127.0.0.1:1111 which you can click or copy and paste into your browser to view the site on your own machine.
That's it—have fun!
Description
Languages
HTML
83.9%
CSS
10%
Shell
3.4%
JavaScript
2.7%