Overview
Artifact ID: | ed61dd2ee7427f4cab172b669e262372d0b66763 |
---|---|
Page Name: | Getting Started |
Date: | 2014-11-18 03:16:49 |
Original User: | rkeene |
Mimetype: | text/x-markdown |
Parent: | 1f8fc685e153fc516b2c26cda5150d81916db706 (diff) |
Next | 20492e912598e9fba0d7cb95c1e1eadca4f211cc |
Content
Getting Started as a User
- Download AppFS
$ wget http://rkeene.org/devel/appfs-1.0.tar.gz
- Compile AppFS
$ gzip -dc appfs-1.0.tar.gz | tar -xf -
$ cd appfs-1.0
$ make
- Install AppFS
# make install
- Run AppFS Daemon
# mkdir /opt/appfs
# /usr/local/sbin/appfsd /var/cache/appfs /opt/appfs
- Optionally configure AppFS to mount on boot:
# ln -s /usr/local/sbin/appfsd /sbin/mount.appfs
- Add to
/etc/fstab
:/var/cache/appfs /opt/appfs appfs defaults 0 0
Getting Started as a Publisher
- Run AppFS Daemon
- Generate a certificate if you do not already have one
$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-cert generate-selfsigned
- Use the "AppFS" build script
$ ./build --cpio myPackage
- Publish your application
$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-mkfs --cpio <fileName> /web/static/mysite.mydomain.com/appfs /path/to/appfs_key /path/to/appfs_certificate