In this repository you will find Docker image with WordPress based project.
- First of all, you need to clone the project repository and set it up using instructions from README.md file.
- Once you have it running please write code that will display the list of all blog entries on a homepage.
- The list should contain the title, publication date, tags and author information.
- Lastly, please write logic in TypeScript that will make list elements activated (changed background, bold text) on click event.
- Copy
local.env.example
file and paste into root directory under thelocal.env
name. - Go to
src
folder and install project dependencies viayarn
command. - Create external docker volume
docker volume create --name=wp-boilerplate-db
- In root directory run Docker by
docker-compose up
command (Please ensure you are using latest Docker). Backend with CMS is available atlocalhost:8080
. - In
src
folder useyarn start
command which will run project atlocalhost:3000
.
Below is a list of used technology in this project
- WordPress
- TypeScript
- SCSS
Functions folder located under app/themes/apptension-theme/functions
.
install-entrypoint.sh
file define plugins which will be installed as a starting point in certain project. Plugins come from
WordPress repository and to install some just pass a plugin slug. More information at WP
-CLI commands.