npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-yeoman-pbl-wordpress

v0.3.1

Published

Yeoman generator for WordPress

Downloads

62

Readme

generator-pbl-wordpress

Step 1 : Installation

  • Node et NPM
  • GIT
  • Wamp ou autre...
  • Composer
  • Yoemen :
npm install -g yo
  • Gérérateur Wordpress :
npm i generator-yeoman-pbl-wordpress

Wordpress CLI

  1. Télécharger le fichier de commandes WP
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
  1. Créer un dossier WPCLI dans C:\wamp64\bin\
  2. Copier le fichier wp-cli.phar dans C:\wamp64\bin\WPCLI
  3. Créer le fichier wp.bat et placer le dans C:\wamp64\bin\WPCLI
  4. Dans ce fichier wp.bat, copier le code ci dessous :
@ECHO OFF
php "C:/wamp64/bin/WPCLI/wp-cli.phar" %*
  1. Ajouter la nouvelle varaible d'environnement : C:\wamp64\bin\WPCLI

Ici, j'ai mis wamp64 mais ça dépend de votre version de wamp...

Pour Windows


Ajouter les variables d'environnement... Dans Panneau de configuration => Tous les Panneaux de configuration => Système, cliquer sur Paramètre système avancés puis sur la popup, cliquer sur Variables d'environement.

Dans le tableau "Variables système", modifier Path et ajouter à la fin un point virgule et le chemin de votre dossier bin (git, npm,...)

    MYSQL => ;C:\wamp\bin\mysql\mysql5.6.17\bin
    PHP => ;C:\wamp\bin\php\php5.5.12
    Composer => ;C:\ProgramData\ComposerSetup\bin;C:\Users\produweb\AppData\Roaming\Composer\vendor\bin
    GIT => ;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin
    NODE => ;C:\Program Files\nodejs\

Liens :

  • http://www.computerhope.com/issues/ch000549.htm
  • http://stackoverflow.com/questions/25549177/change-composer-global-path-windows
  • https://www.npmjs.com/package/generator-yeoman-pbl-wordpress
  • http://wp-cli.org/

Utilisation

yo yeoman-pbl-wordpress

Quand le script est terminé, rendez vous sur http://localhost/nom_du_projet/dist