Skip to content

The /vendor/ folder of a Cmacc (ProseObject) website - has all the code except "include.php" which is in the root

Notifications You must be signed in to change notification settings

CommonAccord/Cmacc-Vendor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cmacc-Vendor

The /vendor/ folder of a Cmacc (ProseObject) website - has all the code except "include.php" and "i.php" the shorter alternate, which is in the root

To make a Cmacc (ProseObject) website:

Make a root folder in a web-enabled, PHP and Perl place.

Copy "include.php" into the root folder. (You'll find a copy loitering in this /vendor/ repo (index.php is useless here, but convenient for copying into the root.)

Do the same with the /png/ folder - copy it into the root. It has some little images that are used in the app. They can't be in /vendor/ because hosting systems prohibit this kind of access to the /vendor/ folder, which is protected.

Mount this repo as vendor/

Make a new folder Doc/ in the root - that is where your ProseObjects live. You will very likely have to populate it with the Cmacc-Z folder which has all the document widgets (mount as Doc/Z/), perhaps Cmacc-U with demo objects for persons and places (Doc/U/), and other substantive ones with documents you are interested in.

If you want all of the current commonaccord.org website and documents, then you can clone Cmacc-Org instead of the above.

Helpful coding notes:

To replace defined terms with {DefT.}: use VSCode's search and replace with regex option (include the special quotes if that is how definitions are marked in the text): “([\w \s])” with: “{DefT.$1}”. But still need to replace spaces with underscores. Afterwards, {DefT.[\w ]( )[\w]} will find all the new defined terms that have spaces in them. Haven't figured out yet how to replace the spaces with underscores.

About

The /vendor/ folder of a Cmacc (ProseObject) website - has all the code except "include.php" which is in the root

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published