Giter VIP home page Giter VIP logo

Comments (8)

0dp avatar 0dp commented on June 18, 2024

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.

oldlastman avatar oldlastman commented on June 18, 2024

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.

0dp avatar 0dp commented on June 18, 2024

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 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


Reply to this email directly or view it on GitHub
#9 (comment)
.

from generator-wp-bones.

0dp avatar 0dp commented on June 18, 2024

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.

oldlastman avatar oldlastman commented on June 18, 2024

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.

0dp avatar 0dp commented on June 18, 2024

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.

mdmoore avatar mdmoore commented on June 18, 2024

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.

0dp avatar 0dp commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.