Version 22 of Writing to Your Starkit

Updated 2003-02-08 09:00:26

By default starkits are read-only. You must give the -writeable flag to sdx when doing the wrap for your starkit to be writeable.

You make your starkit writeable by doing it at wrap time:

  sdx wrap app.kit -writeable

"-writeable" starkits automatically commit changes every 5 seconds.


[Insert a stand alone example script to add and perhaps update files within app.kit.]

 #! tclkit
 package require mk4vfs
 mk4vfs::mount mykit mykit.kit
 cd mykit
 glob *
 cd lib/app-mykit
 # Can I just update the file here?

05Feb03 Jeff Smith - "HeadsUp" [L1 ] is an example of single-file website - i.e. tclhttpd wrapped up as starkit, with user data inside.


Sexy Starkits

Category Tclkit