Embedthis Appweb 3.4.0
Home > Installation > Installing on MAC

Quick Nav

See Also

Installing on MAC OS X

The Appweb install distribution for LINUX is published in two formats:

It is recommended that you use the DMG/PKG package as it will register the software with the system's software package manager. The self-install format consists of tar archives that you can manually extract for maximum control over the placement of the product files.

Both distribution images contain a binary distribution, documentation and development headers and libraries in the one package. During installation you will have the option of installing the full distribution or just portions.

Installing the DMG Image

  1. Double click on the DMG image.
  2. Double click on the appweb.mpkg file icon.

Installing the Self-Install Image

  1. Run the Terminal application
  2. Uncompress and extract the files:
    tar xvfz appweb-VERSION-Apple-MACOSX-i386.tar.tar.gz
    
  3. Start the installation with administrator privilege:
  4. sudo ./install
    

Removing Appweb

  1. Run a terminal and change directory to the installation directory for Appweb. This is typically "/etc/appweb".
  2. Run the remove script in the install directory for Appweb by typing
    sudo ./uninstall
    

Running Appweb

Appweb will start when the installation procedure completes and will launch your browser directed at the Appweb local home page.Thereafter, Appweb will automatically start if the system is rebooted.

If you wish to manually stop Appweb, type:

sudo launchctl unload -w  /Library/LaunchDaemons/com.embedthis.appweb.plist

To restart Appweb:

sudo launchctl load -w  /Library/LaunchDaemons/com.embedthis.appweb.plist

Alternatively, you can run appweb manually:

cd /etc/appweb
appweb

Appweb is configured by default to listen on port 7777. To test that it is serving pages, point your browser at http://localhost:7777. To tailor the Embedthis Appweb configuration, including the default port, you may wish to edit the appweb.conf configuration file.

To get all the options for Appweb, read the man page via:

man appweb
or get the command help via:
appweb --help

© Embedthis Software LLC, 2003-2012. All rights reserved. Embedthis, Ejscript and Appweb are trademarks of Embedthis Software LLC.