GithubHelp home page GithubHelp logo

angusfretwell / craftsman Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 2.0 16.05 MB

An opinionated Craft CMS development environment using Vagrant & Gulp

Home Page: http://angusfretwell.com/craftsman

License: MIT License

JavaScript 12.18% Ruby 29.31% CSS 6.55% HTML 27.33% Shell 24.63%

craftsman's People

Contributors

angusfretwell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

craftsman's Issues

Remove mackup

Not very useful... also having .ssh in Dropbox causes a lot of permissions issues.

Allow for arbitrary number of deployment environments

Add a file which contains a list of all deployment URLs; any of these environments should able to be specified with the --env parameter.

The file should also specify a default environment, and each environment should be labelled as either a production or development environment.

Unable to run: error events.js:141

Was keen to use this as we're also using Craft and Dokku. Seem to be running into an issue when running yo craftsman

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: You must provide a `message` parameter
    at Prompt.throwParamError (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/prompts/base.js:88:9)
    at Prompt (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/prompts/base.js:44:10)
    at new Prompt (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/prompts/input.js:25:15)
    at PromptUI.fetchAnswer (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:92:16)
    at /usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:4599:20
    at tryCatcher (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:567:29)
    at InnerObserver.onNext (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:4806:43)
    at InnerObserver.tryCatcher (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:1710:35)

I've tried to update some of the versions in package.json and have also manually added babel eslint babel-eslint to the npm install -g list.

Any ideas?

Create installation script

Some installable script (shell is probably fine; should be totally portable with zero dependencies) that will take a single argument (PROJECT_NAME):

craftsman new $PROJECT_NAME

The script should:

  1. Clone the latest release of Craftsman to a directory based on PROJECT_NAME
  2. Add a hostfile entry for PROJECT_NAME.app
  3. Replace values in the Craftsman.yaml file based on PROJECT_NAME
  4. Echo out next steps (i.e. run vagrant up) and a link to the Craftsman documentation

Add `db-backup` command

Backup and timestamp remote databases to a persisted /backups directory in the repository.

Create thorough installation and usage documentation

  • Introduction
  • Installation & setup
  • Gulp usage
  • Vagrant usage
  • Custom provisioning (after.sh)
  • Craftsman.yaml configuration
  • Dotenv configuration
  • SCSS usage
  • ES2015/Browserify usage
  • Front-end library integration (jQuery, Bootstrap)
  • Deployment (Capistrano, Heroku)
  • Contributing

Add default field groups

Default

  • title
  • lede (Text)
  • featuredImage (Asset)
  • body (Rich Text)
  • bodyMatrix (Matrix)
    • body
      • body (Rich Text)
      • image (Asset)
      • postion (position (L + R)
    • images
      • images (Assets)
      • position (Position)
      • gallery (Lightswitch)
    • pullQuote
      • quote (Text)
      • citation (Text)
    • sectionHeading
      • heading (Text)
      • lede (Text)

SEO

  • siteDescription
  • siteKeywords
  • siteImage

Settings

  • googleAnalyticsUA

Contact

  • contactName
  • contactShortName
  • contactAddress
  • contactPhone
  • contactEmail
  • contactSocial
    • facebook
    • twitter
    • instagram
    • pinterest
    • foursquare
    • linkedin
    • youtube
    • vimeo
    • flickr

SEO

  • seoTitle
  • seoDescription
  • seoKeywords
  • seoImage
  • seoType
  • seoRobots

Could not instantiate mail function

I got the following error:

Craft\Exception
E-mail error: Could not instantiate mail function

/var/www/craft/app/services/EmailService.php(475)

if ($errorMessage)
466             {
467                 // Fire an 'onSendEmailError' event
468                 $this->onSendEmailError(new Event($this, array(
469                     'user' => $user,
470                     'emailModel' => $emailModel,
471                     'variables' => $variables,
472                     'error' => $errorMessage,
473                 )));
474 
475                 throw new Exception(Craft::t('Email error: {error}', array('error' => $errorMessage)));
476             }
477 

Craft_Exception.pdf

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.