- 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)
Run make
in the repository for help; make dev-init
is a good starting point.
-
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
-
The
phprc
file (/home/<username>/.php/<version>/phprc
) must be updated from thesrc/setup/php.prod.ini
file# Inside /home/<username>/.php/<version>/phprc <contents of src/setup/php.ini>
- After cloning repository, directories
database
andfiles
should be added. - The simplest way to do this is to use
make init-dev
- Setup a separate php.ini for dev-server; timezone must be set.
- Need way to backup
files/
directory remotely. - Should use
relpath
instead of hardcoded relative paths for symbolic links. See this SO post for relpath implementation.