Changes To Getting Started

Changes to "Getting Started" between 2014-11-18 03:16:49 and 2014-11-18 03:28:25

17
18
19
20
21
22
23







24
25
26



27
17
18
19
20
21
22
23
24
25
26
27
28
29
30



31
32
33
34







+
+
+
+
+
+
+
-
-
-
+
+
+

       1. `/var/cache/appfs /opt/appfs       appfs       defaults         0   0`

Getting Started as a Publisher
------------------------------
  1. Run AppFS Daemon
  2. Generate a certificate if you do not already have one
    1. `$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-cert generate-selfsigned`
  3. Create package build script
    1. `$ vi pkgs/myPackage`
    2. Add (example from zlib):
      1. `version=1.2.8`
      1. `url="http://zlib.net/zlib-${version}.tar.gz"`
      1. `domain=core.appfs.rkeene.org`
      1. `sha256='36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d'`
  3. Use the "AppFS" build script
    1. `$ ./build --cpio myPackage`
  4. Publish your application
  4. Use the "AppFS" build script
    1. `$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-build --cpio myPackage`
  5. Publish your application
    1. `$ /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`