Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (16 loc) · 1.04 KB

README.md

File metadata and controls

19 lines (16 loc) · 1.04 KB

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