Used to create new projects using the Perch CMS at XM Media.
- Download a copy of this repo (probably as a ZIP).
- Remove or update the
LICENSE
file. - Download Perch and merge the existing
html/perch
dir with the downloaded one. - Delete
html/perch/.gitignore
so the Perch core will be committed to the repo. - Find and make changes near
@todo-perch
comments throughout the site. Especially important to do the one in.gitignore
otherwise the private config may be committed to the repo! - Make dev redirect change in
.htaccess
(search for@todo
) - Delete the
/perch/setup
folder. - Run
. ./node_setup.sh
to configure node & webpack. - Run
yarn
to install node packages. - Run
webpack
orwebpack --watch
to compile JS & CSS files. (When going live, runnpm run build
instead.) - Create Database and Import db_create.sql
- Set the appropriate permissions on
/perch/resources
(if needed). - Sign in to Perch