Procedure 1.2. How to create a new project
open a shell or cmd.exe
cd into the naos.framework.v5 directory
adjust the build.properties file
type
phing -f development/create-project.xml
and follow the instructions
if the build script complains about missing directories, create them and repeat the previous step
cd into the new application directory
type
phing -f ../naos.framework.v5/development/build-config-apache.xml phing -f ../naos.framework.v5/development/build-config-odf.xml
if the build script complains about missing directories, create them and repeat the previous step
add the new apache.conf in the application configuration directory via an include statement to your Apache, e.g.
Include "/webapplications/youapplication/configuration/apache.conf"
Attention: mod_rewrite and mod_alias are required!
You can run your application now. Just open the following URL:
http://yourhost/yourapplication/
Procedure 1.3. How to install an existing application
open a shell or cmd.exe
cd into the existing application directory
type
phing -f ../naos.framework.v5/development/build-config-apache.xml
if the build script complains about missing directories, create them and repeat the previous step
add the new apache.conf in the application configuration directory via an include statement to your Apache, e.g.
Include "/webapplications/youapplication/configuration/apache.conf"
Attention: mod_rewrite and mod_alias are required!
You can run your application now. Just open one the following URL:
http://yourhost/yourapplication/