Overview
Artifact ID: | 18a375b95e1b72e1991afc8f9360335b07345bac |
---|---|
Page Name: | Getting Started |
Date: | 2020-09-21 21:33:53 |
Original User: | rkeene |
Mimetype: | text/x-markdown |
Parent: | 5d0e45e7b0baf645d484d4ca57f4119b0c458dbf (diff) |
Next | ba769074e4dc442d0a06729da3bd31cfa27ed590 |
Content
Getting Started as a User
- Mount AppFS
- Download AppFS
$ wget http://rkeene.org/devel/appfs-1.14.tar.gz
- Compile AppFS
$ gzip -dc appfs-1.14.tar.gz | tar -xf -
$ cd appfs-1.14
$ 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
- Download AppFS
- Start using AppFS
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