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) Process: Clone Folder a. Destination Application: $same_application b. Folder Attribute: Application-Application c. Old Data: $same_application d. New Data: $new_application e. Really yn: Yes <-- Test with No first 2) Lookup: Application a. Change Application Title b. Change Only One Primary yn (application): No b. Change Relative Source Directory c. Zap Next Reference Number 3) Process: Create Table a. Destination Application: $new_application <-- Important! b. Folder: Application c. Really yn: Yes <-- Test with No first 4) Process: Clone Folder a. Destination Application: $new_application b. Folder Attribute: Application-Application c. Old Data: $new_application d. New Data: $new_application e. Really yn: Yes <-- Test with No first 5) Process: Create Application a. Destination Application: $new_application <-- Important! b. System Folders yn: Yes c. Really yn: Yes <-- Test with No first 6) 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. cp ../$same_application/diagram_list.css . h. mkdir images && cd images i. cpio_passthrough.sh $APPASERVER_HOME/$same_application/images `pwd` j. cd .. k. vi index.html 1) change application title 2) search/replace $same_application/$new_application l. ln -s $APPASERVER_HOME/$new_application $DOCUMENT_ROOT m. ln -s $APPASERVER_HOME/src_${new_application} $DOCUMENT_ROOT 7) Process: Export Application a. Destination Application: $new_application b. System Folders yn: Yes c. Export Output: Gzip File 8) Insert into appaserver tables a. $ cd $APPASERVER_HOME/data b. $ zcat insert_${new_application}_appaserver.sql.gz | sql 9) Reset all the passwords <-- Passwords are never exported. a. $ echo "update ${new_application}_appaserver_user \ set password = 'changeit';" | sql 10) If DynarchMenu is installed then see Integrate DynarchMenu in install_appaserver.txt. 11) Log in <-- remember all passwords have been changed to 'changeit'. a. http://$host/$new_application/index.html b. Username: your_username; Password: changeit c. Become role: Appaserver System 12)Remove residual: APPLICATION a. Lookup: Application b. delete the residual applications 13)Remove residual: APPASERVER_USER a. Lookup: Appaserver User b. delete the residual users 14)Remove residual: ATTRIBUTE a. Lookup: Attribute b. appaserver_yn: No c. Delete Button <-- Submit and confirm delete 15)Remove residual: FOLDER a. Lookup: Folder b. appaserver_yn: No c. Delete Button <-- Submit and confirm delete 15)Remove residual: PROCESS a. Lookup: Process b. appaserver_yn: No c. Delete Button <-- Submit and confirm delete 17) Remove residual: ROLE a. Lookup: Role b. delete the residual roles