Merge branch 'development' of https://github.com/threefoldfoundation/www_threefold_io into development
This commit is contained in:
@@ -66,13 +66,6 @@ bash build.sh
|
||||
|
||||
```
|
||||
|
||||
Now run `build.sh` to download Tailwind, build the CSS, and also build the site with Zola:
|
||||
|
||||
```
|
||||
cd www_threefold_io
|
||||
bash build.sh
|
||||
```
|
||||
|
||||
Finally, start a browsable local copy of the site that will respond to changes in the source files like this:
|
||||
|
||||
```
|
||||
|
||||
5
start.sh
5
start.sh
@@ -19,7 +19,10 @@ tailwindcss -i css/index.css -o ./static/css/index.css --watch & zola serve &
|
||||
|
||||
# compiles tailwind css for prod & builds project
|
||||
tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
||||
zola build
|
||||
|
||||
killall zola
|
||||
|
||||
zola serve
|
||||
|
||||
# kills zola and tw bg processes on interrupt
|
||||
trap 'kill $(jobs -p); exit 1' INT
|
||||
|
||||
Reference in New Issue
Block a user