HTML Directory Folder Setup

1.) Duplicate the template site from the HTML template website within Coda ("a0-template.perpetuastaging.com" on your local side) and rename the folder to "[your project number].perpetuastaging.com". Coda will show that there are changes to be published, but they need to be cleared, not published. The new folder should contain an HTML folder with the following:

_layout_1.cfm (Main Page)
_layout.cfm (Subpage)
_layout_email.cfm (Email Template)
_partials folder
config folder
css folder
files folder
fonts folder
js folder
xml/pagecontent folder

2.) Copy all the approved final PSD files from the project folder to a new folder called _support.

 
 

Adding the Site to the Perpetua Console

1.) Begin by going to https://my.artistrylabs.com/perpetua-console/

2.) On the right there is a list that goes:
FUSION_001 [20]
FUSION_002 [12]

Pick the fusion number with the smallest number inside brackets.  For example, if the two above were the only options present, then choose FUSION_002 because it has a smaller number. Write this down because you'll need it in a minute.

3.) Above the list of sites, choose ADD SITE.
For the Account ID and the Project ID, use the Project ID from the project in AMS.
For the Client ID, use the Client ID from the project in AMS.

Account Location is #projectNumber#.perpetuastaging.com.
Directory Root is /#projectNumber#.perpetuastaging.com/html/.

Client Name is the name of the client who approved the site. Usually found towards the bottom of the notes in the project.

Client Email can also be found in the project of AMS. If there is no email, leave it as the default.

Remember that fusion #? Input it where it asks you for the datasource.

Website Title is the church or organization name.

Page Limit should be in the preparation notes of the project. If the page limit is unlimited, then input the number 0 in the page limit.

4.) The default settings should be enough

If there is a search box in the design, check Bing Search

Under Additional Parameters:
Input any random password into the admin password field. The password is not used.

5.) Click Save Site.

  • If you get an error similar to "/var/www/a0001.perpetuastaging.com/html/ could not be created. The most likely cause of this error is that /var/www/a0001.perpetuastaging.com/html/ already exists on your file system.", check the following:
    • In the Perpetua Console, make sure that the site you're trying to add doesn't already exist
    • In Terminal, check to see if the www directory has the appropriate permissions:
      • cd /var
      • ls -l
      • Check to see if www is set to root root. If it is, change it to cfmx perpetua:
        • chown cfmx.perpetua www
    • In Terminal, check to see if that directory exists
      • cd /var/www
      • ls -l
      • Look for the directory. If it exists, look through it in Coda to see if it's truly being used or if it was added by mistake. If by mistake, delete it.
  • Once resolved, click the Back button in your browser to get back to the Add Site screen, and click save again.

6.) Ask Scott to reload apache and then you'll be ready to move your files to the site.

If Scott isn't available, open Terminal, log into the server, type in the following command:
apachectl configtest

If it responds with only Syntax OK then type in the following command:
apachectl graceful