Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Latest commit

 

History

History
66 lines (42 loc) · 1.62 KB

README.md

File metadata and controls

66 lines (42 loc) · 1.62 KB

Development Process

Prerequisites

  • Any *nix-like system (for running Makefiles)
  • PHP installation satisfying:
    • All of Bolt's requirements
    • The curl extension
    • The exif extension
    • The iconv extension
    • The zip extension
    • The openssl extension
    • Running "phar" files (The phar extension must be enabled or able to be configured)

Getting Started

Run make in the repository for help; make dev-init is a good starting point.

Release Process

Dreamhost Setup

  1. Your PHP CLI must use the same version as the website. Update your .bash_profile to include the following lines. (Assuming PHP 7.3)

     # Inside /home/<username>/.bash_profile
     export PATH=/usr/local/php73/bin:$PATH
    
  2. The phprc file (/home/<username>/.php/<version>/phprc) must be updated from the src/setup/php.prod.ini file

     # Inside /home/<username>/.php/<version>/phprc
     <contents of src/setup/php.ini>
    

Environment

  • After cloning repository, directories database and files should be added.
  • The simplest way to do this is to use make init-dev

Work to Do

  • Setup a separate php.ini for dev-server; timezone must be set.

Release Process