Of course you need grunt to start with. And then...
grunt-contrib-watchgrunt-contrib-uglifygrunt-contrib-imagemingrunt-contrib-sass(or use faster/bettergrunt-sass?)grunt-contrib/jshintgrunt-autoprefixer
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkgc: grunt.file.readJSON('package.json'), | |
| // Watch files that may change and should trigger updates | |
| watch: { | |
| sass: { | |
| files: ['sass/*.{scss,sass}', 'sass/**/*.scss'], |
I have some reading for you guys.
| { | |
| "sample": { | |
| "themes": [ | |
| "woothemes/storefront" | |
| ], | |
| "mu_plugins": [ | |
| "woocommerce" | |
| ], | |
| "plugins": [ | |
| "wp-retina-2x", |
Start with these instructions and you should have a site running. You want to use the WordPress Stable setup...
All WordPress admin usernames and passwords for WordPress installations included by default are admin and password.
adminpassword http://local.wordpress.devOur goal is to have a special branch (one or more) matching a production environment. Using a service like Beanstalk, you want to be able to push to one of those branches, and have it end up at the server with compiled Sass, JavaScript, image, and other assets. You're unable to run your tools on the server, but you want to keep your repository free from these messy compiled assets.
Let's assume we're using a kind of Gitflow methodology, and that our branch for deployment will be called staging.
You have been doing your work on the develop branch... or wherever...
git checkout staging
For WordPress
For Front-end Theming
One of the most important concepts to understand at Needmore is Kaizen. This means continual improvement. Apply this to everything you see below. The following are just guidelines, part of your job is to keep improving, getting better, refining the process, learning, and teaching.
Your goal as a member of the Needmore team is to feel empowered to make sure that you continue to improve, and we do as well. We don't expect you to do something just because it's written here, we expect you to do it better. Learn how to improve the process to end up with a better result, with less mistakes, with less problems. Don't keep doing something a certain way because that's the way we've been doing it.
There are six key aspects to being a successful, productive part of development at Needmore.
Get comfortable using Trello for development and issue tracking. Make sure you use it in a way you can keep the whole team in the loop at all times. Remember to notify the project manager when making changes tha
| body.single-peopleandplaces { | |
| .wrap .photo { | |
| height: ( $photoheight / 2 ); | |
| width: 100%; | |
| @include bp(medium) { | |
| height: ( $photoheight * .75 ); | |
| width: ( 100% / 2 ); | |
| } | |
| @include bp(large) { | |
| height: $photoheight; |
The goal here is to have a script of some kind that lets you "deploy" your WordPress theme to GitHub, and the auto-updater plugin that supports GitHub will then pull the latest tagged release on your master branch onto your website.
We want to try replacing FTP-based methods for deployment, while having a record of each deployment to our sites. Presumably, this would be more useful for the "staging" site. On the production site, you might want to update the theme in a more manual (and less frequent) fashion.
I am theorizing that we want to increment a global variable in functions.php