You are going to need to install a few things on your computer to get the local DEV ENV setup for theme development.
Note: There are going to be some permission issues depending on your system and where your development files.
Mac: Taken from Medium (Homebrew) Note "httpd" is apache2 service
Windows: Taken from Sitepoint
Linux (Ubuntu 18.04):
- sudo apt update
- sudo apt install php
- php -v
Install Common Modules
- sudo apt install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php
To check all the PHP modules available in Ubuntu, run: 2. apt-cache search --names-only ^php
Taken form This Hosting
Note: All Systems will need to make sure "php-mbstring" is enabled in their php.ini settings
Dependency for Mac and Linux is PHP
Unix systems Mac and Linux: This will install composer into the current directory and the last step. Read the docs for install below.
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
- php composer-setup.php
- php -r "unlink('composer-setup.php');"
- sudo mv composer.phar /usr/local/bin/composer
Windows: Get Composer Org Install
Windows, Mac, Linux: Install Portal
Dependency Node JS Windows, Mac, Linux: Install Portal
- cd into theme folder
- run composer install
- run yarn install
- log into Wordpress dashboard
- Activate Passion impact theme
You might need to change the permissions for the theme folder to able to edit the files in it.
Mac and Linux:
- cd to themes folder
- sudo chown -R <user>:<user> ./passion_impact
Windows: Not sure
There are a couple basic steps you are going to want to do when you start working in the Wordpress dashboard.
- Go to settings => permalinks change to "Post name" => Save Changes
- After you make a Home page go to Appearance => Customize => Homepage Settings Change it in the dropdown to Homepage that new page.
Uses Sage
Sage is a WordPress starter theme with a modern development workflow.