Overview
Artifact ID: | ba769074e4dc442d0a06729da3bd31cfa27ed590 |
---|---|
Page Name: | Getting Started |
Date: | 2020-09-21 21:35:28 |
Original User: | rkeene |
Mimetype: | text/x-markdown |
Parent: | 18a375b95e1b72e1991afc8f9360335b07345bac (diff) |
Next | fef0f52c5ed7ee18e1020c49a44c461916b36f02 |
Content
Getting Started as a User
- Mount AppFS
- Download AppFS
$ wget https://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