Comments (8)
Hi,
Sorry for my late reply I did not see it :/
Well I have just recieved a pull request and merged it, which fix the first issue. All entered data is now added to style.css
As for the second question I am not sure what you mean. What I do is I run the wp-bones command from within the wordpress theme folder, hence it is 'always deployed' if you mean deploy to another server, yes I would copy the fies manually.
I have seen other generators who create a git repo and so you can just do a git pull if you want to deploy elsewhere
from generator-wp-bones.
hi!
i made the pull request with my team :) so thanks for the merge
the second question. steps for production upload:
- grunt dist
- upload to production server the theme files
- upload to production server the library/dist as library (this way because i dont want sass and other files in production server)
is this correct? or is better upload all files
from generator-wp-bones.
I'm the one who should thank. It feels good when people find ones tool
useful and wants to improve it.
If we go with the git approach we can exclude the files in question.
or could we make a grunt task to recompile everything into a global dist
folder?
On Sep 25, 2014 5:05 PM, "José Pardo Barceló" [email protected]
wrote:
hi!
i made the pull request with my team :) so thanks for the mergethe second question. steps for production upload:
- grunt dist
- upload to production server the theme files
- upload to production server the library/dist as library (this way
because i dont want sass and other files in production server)is this correct? or is better upload all files
—
Reply to this email directly or view it on GitHub
#9 (comment)
.
from generator-wp-bones.
hey @oldlastman
Do you think a grunt task like this: https://github.com/robwierzbowski/grunt-build-control
could be used for a deployment plan?
from generator-wp-bones.
wow that task it's pretty awesome :O
it's a very good help in deploy ...
i'm trying to play with that grunt task a little and i will comment about my results soon
from generator-wp-bones.
Sounds good bro
On Sep 27, 2014 1:29 PM, "José Pardo Barceló" [email protected]
wrote:
wow that task it's pretty awesome :O
it's a very good help in deploy ...
i'm trying to play with that grunt task a little and i will comment about
my results soon—
Reply to this email directly or view it on GitHub
#9 (comment)
.
from generator-wp-bones.
I'm a little confused on grunt dist. Its great that it copies in everything from /library but why not copy all the templates as well, effectively making the dist folder a ready to deploy theme? This makes sense to me but maybe there's a reason not to do this.
For example, I'm creating a dist folder at the top level in the theme like this:
copyto: {
dist: {
files: [
{cwd: '../../', src: ['**/*'], dest: '../../dist/'}
],
options: {
ignore: [
'../dist{,/**/*}',
'../../library/doc{,/**/*}',
'../../library/grunt{,/**/*}',
'../../library/scss{,/**/*}'
]
}
}
}
from generator-wp-bones.
hey @mdmoore
That is really not a bad idea!
Maybe an option in the installer would be in place?
What do you think?
Feel free to do a pull request
from generator-wp-bones.
Related Issues (10)
- remove custom post example and custom taxonomy HOT 14
- New to the Yo/Grunt workflow, newb questions... HOT 3
- Error running task sass.js HOT 5
- Error with Python HOT 8
- No bower.json present HOT 1
- test publish at npm repo (removed again) HOT 3
- jshint missing? HOT 1
- npm error: looking for package.json in wrong dir HOT 2
- wp-editor-style.scss not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-wp-bones.