How to setup boethos on Mac OSX 10.8
#How to run Boethos on local server Mac OSX 10.8
##0. Download jslinb package
##1. PHP activation
Like discribed here (German description):
got to /private/etc/apache2/ using Terminal.app
cd /private/etc/apache2/
open Finder window there
open .
open httpd.conf file with the an editor like Sublime Text 2 and remove the # in line 117 so it reads:
LoadModule php5_module libexec/apache2/libphp5.so
Save the file (needs admin authentication). This should work. If not the author of my ressource suggest to go to file “/private/etc/apache2/mime.types” In line 145 add "PHP" to the end of the string (without the quotes).
##2. Site folder definition On OSX 10.8 there is no standard "Sites" folder you need to define it.
`sudo vi /etc/apache2/users/[USER].conf`
This will open a new file in vi (a wired editor. Dont worry its yjust some copy paste.)
hit "i" for insert.
Now you can edit the new file.
Paste the following code into the Terminal.app running vi. Also change [USER] to your username
<Directory "/Users/[USER]/Sites/">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Hit "ESC". To leave the insert mode of vi
Hold Shift and hit "z" 2 times for saving your file in vi. You need to use some editer like vi, vim or pico to make this part work. Sorry.
##3. Create Site Folder Under your user directory create a folder called "Sites" if it does not exist. If everything was right in the steps before, the folder should get a tiny Safari icon.
##4. Add JSLinb Package to Sites
##5. Start Apache
Like discribed here.
Open Terminal.app.
To Start your apache server enter the following command (needs admin auth)
sudo apachectl start
To Stop the server enter
sudo apachectl stop
To Restat the server enter
sudo apachectl restart
##6. Load JsLinb UI Builder locally
now you can reach the JSLinb package under this URL
http://localhost/~[YOUR_USERNAME]/
Have fun with with the UI builder under
http://localhost/~[YOUR_USERNAME]/VisualJS/UIBuilder.html
To build ExtendScript Interfaces copy this code by Christopher Green into the code view of the UIBuilder.