Welcome ,
  1. Home
  2. Cloning PageCarton Repository for Contribution

PageCarton Documentation



Interested in coding widgets, classes, or methods? Check out the Code section!

Cloning PageCarton Repository for Contribution


Image
# move to where to want PageCarton cloned
cd ~

# clone git repo branch you want to work on
git clone -b https://github.com/pagecarton/pagecarton.git

# edit pagecarton.json and set PC_BASE to the full path to where "pagecarton" is located. 
# The "pagecarton" dir must be the directory containing the "core" directory 
nano pagecarton/core/local_html/pagecarton.json

# copy local_html files to the web root
# Use cp -r pagecarton/core/local_html/* www/sample-dir/ to install to a sub directory
# change www to location to full path to your web root
cp -r pagecarton/core/local_html/* www/




# set the right file ownership and permissions
# ideally, the pagecarton directory must be readable and writable 
# by the user running the web server.
# usually this user is www-data or apache or nginx or daemon
chown -hR www-data:www-data pagecarton

# alternatively, set global permissions  (not recommended)
# chmod -R 0777 pagecarton

 

 

 

← Previous "HTML Syntax & API for Embedding Widgets""How to contribute to PageCarton Core" Next →


 

Similar article

 

HTML Syntax & API for Embedding Widgets

In a recent update to be available to the public August 2020, we are adding a completely different way to create and customize PageCarton Themes. In addition to existing ways of creating and customizing themes, you can now customize themes completely from the raw HTML code section using your favorite code editor. Before now, most of the theme layout design functions has been limited to the visual Page Editor in the PageCarton Admin Panel, we noticed that this has proved to be difficul...

article
 

 

PageCarton Admin Panel

The PageCarton Admin Panel is the default control center of PageCarton. While PageCarton is built with privileges from ground up, which allows to customization even from the frontend, the Admin Panel now serves as the control center where all the administative functions can be found in one place. The Admin Panel is a component of PageCarton system that provides the ability to view and change application settings. It consists of a set of widgets that include adding or removing fun...

article
 

 

Contact Messages

[This Article Needs Content]

article
 

 

New Site Wizard

[This Article Needs Content]

article
 

 

File Manager

[This Article Needs Content]

article
 

 

Mailing List

[This Article Needs Content]

article