Coder Social home page Coder Social logo

docs's People

Contributors

0x2206 avatar alexw23 avatar anahkiasen avatar andreaskweber avatar austenc avatar bilge avatar chadwithuhc avatar chronophobe avatar driesvints avatar ervinb avatar hassankhan avatar helmut avatar inverse avatar janise avatar jveldboom avatar katzefudder avatar lewismcmahon avatar nilansanjaya avatar opb avatar ryanhalliday avatar schlaefer avatar stedaniels avatar stefandroog avatar swalkinshaw avatar tbreuss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Bad documentation or I am stupid

Hi

This documentation does not have any learning curve.

For me it is very hard to understand the documentation.
Using the console, it was quite easy to get to the first deploy, but without that it is a nightmare.
To do some next level things eg.: multiple staging, using hooks is mindfuck.
I put echo "asd"; in my hooks.php. And it does not fire at all. Doc does not say how to do it.

Please change the font color! My eyes are exploding.
Ergonomics please! font color #808d8e, background color #edf1f2 WHY?

PS: I dont want to be rude. Lot of us, I think struggling with the configuration, whoever it is very easy and well engineered.

Getting options for a custom taks

@acmitch commented on Thu Aug 06 2015

So I've created a custom task, however, when trying to call $this->getOption('start_date'); I get the error

  [RuntimeException]
  The "--start_date" option does not exist

deploy:custom [-P|--parallel] [-p|--pretend] [-C|--on="..."] [-S|--stage="..."] [-B|--branch="..."] [--host="..."] [--username="..."] [--password="..."] [--key="..."] [--keyphrase="..."] [--agent="..."] [--repository="..."]

Looking at the migration tasks and others. It seems custom options can be passed through?


@acmitch commented on Tue Aug 11 2015

Wanted to follow up for anyone having similar issues. This is very possible.

All you have to do is create a custom command which extends BaseTaskCommand and override the getOptions child function.

To get your newly created command class to autoload, simply place your code in one of the autoloaded folders such as 'strategies' or 'tasks'.

I know this comment is very broad, so check out how Anahkiasen handles extending the 'deploy' command here.

You can see he has a class doing what I just described above. @Anahkiasen you really need some documenation on this. I love this library but to use it as a task runner the ability to have rocketeer as an extension of my libraries is really helpful.

For the short term just simply autoloading a 'commands' directory if it exists would be great!


@Anahkiasen commented on Tue Aug 11 2015

As you may have noticed I'm rather buys currently so Rocketeer is a bit in pause, but all PRs are welcome to the rocketeer/docs repo

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.