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

gitbook-start-heroku-aitor-joshua-samuel

v2.0.0

Published

A plugin for heroku deploys

Downloads

16

Readme

#Práctica: Plugin para despliegues en Heroku

##¿Qué hace el módulo?

Este plugin extiende el paquete gitbook-start con un nuevo plugin que permita realizar el despliegue en Heroku con un simple gulp deploy-heroku. Puede encontrar el paquete gitbook-start y el otro plugin para el iaas-ull-es en la zona de Repositorio.

#####Instalación:

npm install --save gitbook-start-heroku-aitor-joshua-samuel

Para añadir el plugin al paquete gitbook-start ejecutar el siguiente comando:

gitbook-start -d heroku -p github --> Añades el plugin en gitbook-start para el despliegue con github
gitbook-start -d heroku -p local --> Añades el plugin en gitbook-start para el despliegue con local

#####Instrucciones:

  • Al ejecutar el comando anterior, te pide el token de heroku y el nombre que quieres ponerle a la app
  • El token de Heroku se puede obtener mediante el CLI de heroku con: heroku auth:token
  • Una vez desplegado se puede desplegar en Heroku con la siguente tarea de Gulp:
gulp deploy-heroku --> Depsliega tu libro en heroku
Local
  • Para el caso del depsliegue local, deberá añadir su token de dropbox y el link del archivo a descargar.
  • Suba previamente el archivo users.json a Dropbox
  • Obtener token de dropbox
  • Rellene la URL para compartir el fichero y el token de Dropbox.
  • Recuerde usar gitbook build para generar los HTML
{
    "url": "myUrl",
    "token": "myToken"
}
  • Para Añadir un nuevo usuario puede hacer uso de la tarea de gulp: gulp new-user
Github
  • Para el despliegue github debe rellenar el fichero userData.json con los siguientes campos:
  1. La organización de acceso.
  2. El token de github con los permisos necesarios.
  3. La url callback de su github app.
  4. El Client id de su github app.
  5. El Client secret de su github app.
{
    "org": "myOrg",
    "token": "myToken",
    "url": "myCallbackUrl",
    "idClient": "myClientID",
    "secretClient": "mySecretClient"
}
Ejemplo
linux@user: gitbook-start -d heroku -p [github | local]
? Introduce tu token de Heroku: mi-token
? Introduzca el nombre de su app en Heroku: mi-aplicación
Aplicación creada: mi-aplicación

##Autores

  1. Aitor Bernal Falcón
  2. Samuel Ramos Barroso
  3. Joshua Pérez García

##Repositorio

##Enlaces de interés