Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
/ starter_perch Public archive

Starter for creating Perch CMS sites at XM Media

License

Notifications You must be signed in to change notification settings

xmmedia/starter_perch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perch Website Starter

Used to create new projects using the Perch CMS at XM Media.

Setting Up a New Site

  1. Download a copy of this repo (probably as a ZIP).
  2. Remove or update the LICENSE file.
  3. Download Perch and merge the existing html/perch dir with the downloaded one.
  4. Delete html/perch/.gitignore so the Perch core will be committed to the repo.
  5. 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!
  6. Make dev redirect change in .htaccess (search for @todo)
  7. Delete the /perch/setup folder.
  8. Run . ./node_setup.sh to configure node & webpack.
  9. Run yarn to install node packages.
  10. Run webpack or webpack --watch to compile JS & CSS files. (When going live, run npm run build instead.)
  11. Create Database and Import db_create.sql
  12. Set the appropriate permissions on /perch/resources (if needed).
  13. Sign in to Perch