How to create a new application: Follow these steps if you have a running Appaserver application and you would like to clone that application into another application. 1) Clone Folder Process: a. Destination Application: $same_application b. Folder Attribute: Application-Application c. Old Data: $same_application d. New Data: $new_application e. Really yn: Yes 2) Edit Application Folder: a. Change Application Title b. Change Only One Primary yn (application): No b. Change Relative Source Directory c. Zap Next Reference Number 3) Create Application Process: a. Destination Application: $new_application <-- Important! b. System Folders yn: Yes c. Really yn: Yes 4) Make the directory a. # mkdir $APPASERVER_HOME/$new_application b. # cd $APPASERVER_HOME/$new_application c. # chgrp $apache_group . d. # chmod 770 . e. # cp ../$same_application/index.html . f. # cp ../$same_application/style.css . g. # vi index.html 1) change application title 2) search/replace $same_application/$new_application h. # ln -s $APPASERVER_HOME/$new_application $DOCUMENT_ROOT i. # ln -s $APPASERVER_HOME/src_${new_application} $DOCUMENT_ROOT 5) Clone Application Process: a. Destination Application: $new_application b. System Folders yn: Yes 6) Insert into appaserver tables a. $ cd $APPASERVER_HOME/$new_application b. $ zcat insert_${new_application}_appaserver.sql.gz | sql 7) Login a. http://$host/$new_application/index.html 8) Remove residual: APPLICATION a. APPLICATION Folder b. delete the residual applications 9) Remove residual: APPASERVER_USER a. APPASERVER_USER Folder b. delete the residual users 10)Remove residual: ATTRIBUTE a. ATTRIBUTE Folder b. appaserver_yn: No c. Delete Button <-- Submit and confirm delete d. appaserver_yn: Is Null e. Delete Button <-- Submit and confirm delete 10)Remove residual: FOLDER a. FOLDER Folder b. appaserver_yn: No c. Delete Button <-- Submit and confirm delete d. appaserver_yn: Is Null e. Delete Button <-- Submit and confirm delete 11) Remove residual: ROLE a. ROLE Folder b. delete the residual roles