Openair Malans Theme
Requirements
- Docker
- Node.js / NPM
- gulp.js
Getting Started
Setup Wordpress
git clone https://github.com/michiwieland/openairmalans-theme.git
docker-compose up
localhost:8080
Setup environment
- Install NodeJS: https://nodejs.org/en/download/
- Update NPM:
npm install npm@latest -g
- Install Gulp:
npm install gulp-cli -g
- Change to the project directory:
cd /path/to/openairmalans-theme
- Install dependencies:
npm install
- Build sources:
gulp
Folder structure
- Theme folder:
/wp-content/themes/openairmalans/
- Development folder:
/wp-content/themes/openairmalans/assets
- Compiled resources:
/wp-content/themes/openairmalans/dist
Install theme
- Run gulp in the root directory:
gulp
- Copy the theme directory except the
/assets
folder to your wordpress /themes
directory.
Connect to the database
Open connection with the tool of your choice:
- Host:
localhost
- Username:
root
- Password:
wp
- Port:
3306
- Database:
wordpress