Based on the aid-muster-theme using grunt, scss and npm
- Clone Repo into a existing wordpress installation into the wp_content/themes/ folder
- open a shell within the project-folder
- run
npm i
(Install Packages) - run
grunt
(Run Grunt-Task with watcher, Details in Gruntfile.js)
- Create an empty textfile named .ftppass in the projects root-directory
{
"bula-dev": {
"username": "YOUR_SSH_USERNAME",
"password": "YOUR_SSH_PASSWORD"
},
"bula-prod": {
"username": "YOUR_SSH_USERNAME",
"password": "YOUR_SSH_PASSWORD"
}
}
- run
grunt deploy-dev
for dev deployment orgrunt deploy-prod
for prod deployment