Overview
| Artifact ID: | e857056b03da543ea2edc04ca3b0c3b6b87ab0bb | 
|---|---|
| Page Name: | Getting Started | 
| Date: | 2015-07-02 17:23:24 | 
| Original User: | rkeene | 
| Mimetype: | text/x-markdown | 
| Parent: | 711a7ba37e76910a481696d1b9b0748477b93add (diff) | 
| Next | 5d0e45e7b0baf645d484d4ca57f4119b0c458dbf | 
Content
Getting Started as a User
- Download AppFS
$ wget http://rkeene.org/devel/appfs-1.8.tar.gz
 - Compile AppFS
$ gzip -dc appfs-1.8.tar.gz | tar -xf -$ cd appfs-1.8$ 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:
- Add to 
/etc/fstab:/var/cache/appfs /opt/appfs appfs defaults 0 0
 
 - Add to 
 - Read about AppFS Configuration
 
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
 - Create package build script
$ vi pkgs/myPackage- Add (example from zlib):
version=1.2.8url="http://zlib.net/zlib-${version}.tar.gz"domain=core.appfs.rkeene.orgsha256='36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d'
 
 - Use the "AppFS" build script
$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-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