-
Notifications
You must be signed in to change notification settings - Fork 0
Archive Trac demo app appendix new html5 from existing
madscatt edited this page Jun 20, 2026
·
1 revision
Legacy Trac archive page imported from
demo_app_appendix_new_html5_from_existing. Source: https://genapp.rocks/wiki/wiki/demo_app_appendix_new_html5_from_existing. Review age, links, and examples before treating as current.
-
Basic steps:
- Given a application, copy its contents into a new directory.
- Edit directives.json and replace all mentions of the previous application path with the new directory
- run {{{$GENAPP/sbin/htmlsetuppaths.pl}}}
- run {{{genapp}}}
-
Example:
- suppose you wanted to make a new application mydemo from the demo application installed in /opt/genapp/demo
- copy
- change to the directory
cd /opt/genapp
- make a deep copy
cp -r demo mydemo
- edit the directives file with your favorite editor and mass replace demo with mydemo - change to the new directory
cd mydemo
- use your favorite editor to mass replace demo with mydemo (in this example, with vi)
vi directives.json
- setup the paths for the webserver
$GENAPP/sbin/htmlsetuppaths.pl
- regenerate the application
genapp
- your new web site should now be available