Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 767 Bytes

static.md

File metadata and controls

23 lines (15 loc) · 767 Bytes

Make Skarf Static

Post Cool Update

You can simply change the static flag in config.yml/config.json, and it will compile it to /app/build

Pre Cool Update

Skarf is created with flask an it will take up your server resources as it is being rendered on the server side. To fix this you can make it static with a workaround kinda thing. Do this after you have finished configuring skarf and you just want the static files left.

First you will need wget, it can be installed on unix based systems.

Run this command:

wget --recursive --no-clobber --page-requisites --html-extension --convert-links -restrict-file-names=windows [link to your skarf instance]

This will download your skarf instance and you will be able to view it in static form.