sheltermanager

Open full view…

HTML Publishing options

joshnoonan
Mon, 10 Dec 2018 16:53:23 GMT

Good morning, I basically just installed ASM3 and got it up and running. I have 1 demo dog listed as adoptable. I am trying to test out the html publishing options. I am leaving the publish to folder blank. Looking at the publishing logs it is publishing something, but I cannot find any of the files on the server, I am also not sure on how to link to the published files to show on the website. Any help would be appreciative. Thanks!

robinrt
Mon, 10 Dec 2018 17:01:08 GMT

If you leave the folder blank, it will be publishing to a temporary folder in /tmp You'll need to either specify FTP credentials to upload pages to your site, or use a webserver on the machine running ASM3 to expose the folder containing published files.

joshnoonan
Mon, 10 Dec 2018 18:01:43 GMT

Got it thanks! I was able to setup a FTP server to capture the files. I do not see any sort of general index.html or do we need to setup our website to display display all the files? Also I am assigning a static IP for the webserver and there is a FQDN associated with the IP also. Is there a way to configure the program to use that hostname instead of localhost? (so when I click on an online form is shows www.hostname.com/form... instead of localhost/form etc. Thanks again for this awesome program!

joshnoonan
Mon, 10 Dec 2018 19:27:23 GMT

Nevermind...I got it. Rookie mistake. I did not edit my base url in site sitedefs.py. Thanks!

robinrt
Tue, 11 Dec 2018 14:21:47 GMT

Depending on publishing mode, the pages output are either 1.html or all.html - you can assign those as index pages in your Apache .htaccess file with the DirectoryIndex directive (assuming you're using Apache that is).