Overview
Artifact ID: | e23f80b826cc6d936b9a4764dd95a6d13b207421 |
---|---|
Page Name: | Getting Started |
Date: | 2014-12-29 04:37:56 |
Original User: | rkeene |
Mimetype: | text/x-markdown |
Parent: | f24081b01746b8f5bc8e165fd21e1ce72e19bad3 (diff) |
Next | 711a7ba37e76910a481696d1b9b0748477b93add |
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:
- 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.8
url="http://zlib.net/zlib-${version}.tar.gz"
domain=core.appfs.rkeene.org
sha256='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