User Tools

Site Tools


wiki:apw:download

This is an old revision of the document!


The Alternative Public Website

Download

Version 5.01 can be downloaded from here. (Updated dd/MM/yyyy). Please note

Latest Version

The latest version of the APW is 5.01. This version includes a number of improvements on the structure of each page, the menu and consolidates the styles to avoid duplication and improve consistency.

v5.01 Changes

Installing

This simply involves unzipping the downloaded file to a webhost. It will extract into a folder called apw so bear this in mind when choosing a location for your site.

Private local webhost

If the host is on your local machine, then simply make sure that there is not an existing folder called apw. You will be able to view the site using your <local address>/apw/ but hold off for a while.

Public Domain

If you have uploaded to a public domain, it is extremely likely that your website data will be somewhere else, In this case, unless you can upload two sets of data, one to your existing public site and one set to the apw folder, then you will not see active data and some features may appear not to work until you have configured the APW.

Until you configure the site, it will be most unlikely that you will see any data

Configuration

Unlike previous versions of the APW, the configuration settings are now held in a separate file: config.js

This file is loaded early on in the process so ensuring that all settings are available and used correctly. At the very least you will have to configure where the APW can find your uploaded CumulusMX data and NOAA Reports.

Custom

This section provides options for setting the menu position, If the sidebar hamburger should be to the left of the page logo, what theme you wish to use, to set your own logo and / or banner image. You can also adjust the position of the banner image.

DataPath

IMPORTANT You must tell the APW where you upload the various files used to supply data to your site.

See more

Geometry

Use this section to adjust the gaps between the banner - content - footer, and to opt for a static or scrolling banner / footer.

Gull

This section controls the flying gull at the bottom of the screen. Use the information in the config.js file to configure this as required. Note

Panels

Settings for the main page panels - they can have various shadows and cen be set to have variable heights.

This is used to locate the required menu. If you create your own then use this to point to the correct file.See Setting up a menu

NOAAPath

IMPORTANT As for your data, you need to tell APW where you upload your NOAA Reports.

let cmxConfig = {
    //  Edit this to set your required configuration
    "Custom": {
        "SideMenu": true,       // Set to true to use a sidebar menu
        "BannerStyle": "thin",  // Accepts 'thin' to reduce the height of the banner; only on sidebar navigation
        "Theme": "",            // Set to the name of an existing theme WITHOUT 'css'
        "Logo": "",             // Set to the absolute or relative path and name of the image to use OR leave blank
        "BannerImage": "",      //  As above or leave blank
        "BannerPosition":"center bottom 40%",   // Use allowable css values including units
    },
    "DataPath": "",             // Set to the absolute or relative path of your data
    "Geometry": {
        "StaticHead": true,     // true or false accepted
        "StaticFoot": true,     // true or false accepted
        "PaddingTop": 2,        // Numeric value only (real numbers accepted but ignored if using px as unit)
        "PaddingBottom": 1,     // Numeric value only ( ditto )
        "Units": "em",          // Accepts any valid css unit 
    },
    "Gull": {                   // Affects the standing gull only
        "Animation": "",        // Values: Blank, 'Expand', 'Enter left', 'Enter right' or 'Drop' only
        "Speed": 5,             // Positive numeric values only (can be real)
        "OnTop": false,         // true or false
    },
    "Panels": {
        "Shadows": "",          // Blank, Basic or Enhanced only
        "VariableHeight": true, // true or false
    },
    "Menu": "js/menu.js",       // Relative path and name of menu script.
    "NOAAPath": "Reports/",     // Absolute or relative path to your NOAA Reports
}

NOTE

The default cmxConfig object assumes that your data is uploaded to the same APW folder; that the moon image is uploaded to apw/images/, and that NOAA Reports are uploaded to apw/Reports/. If this is not the case then you will need to make changes to the above settings.

cmxSession

This is used internally by the APW and generally does not need editing.

wiki/apw/download.1776513900.txt.gz · Last modified: by Neil Thomas