D 2014-11-18T03:16:49.448 L Getting\sStarted N text/x-markdown P 1f8fc685e153fc516b2c26cda5150d81916db706 U rkeene W 1172 Getting Started as a User ------------------------- 1. Download AppFS 1. `$ wget http://rkeene.org/devel/appfs-1.0.tar.gz` 2. Compile AppFS 1. `$ gzip -dc appfs-1.0.tar.gz | tar -xf -` 2. `$ cd appfs-1.0` 3. `$ make` 3. Install AppFS 1. `# make install` 4. Run AppFS Daemon 1. `# mkdir /opt/appfs` 2. `# /usr/local/sbin/appfsd /var/cache/appfs /opt/appfs` 5. Optionally configure AppFS to mount on boot: 1. `# ln -s /usr/local/sbin/appfsd /sbin/mount.appfs` 2. Add to `/etc/fstab`: 1. `/var/cache/appfs /opt/appfs appfs defaults 0 0` Getting Started as a Publisher ------------------------------ 1. Run AppFS Daemon 2. Generate a certificate if you do not already have one 1. `$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-cert generate-selfsigned` 3. Use the "AppFS" build script 1. `$ ./build --cpio myPackage` 4. Publish your application 1. `$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-mkfs --cpio /web/static/mysite.mydomain.com/appfs /path/to/appfs_key /path/to/appfs_certificate` Z 3b1f25a6bbd2de9797e4f5a32b30624d