Skip to content
Timi edited this page May 11, 2015 · 2 revisions

How to create a new hapi-plugin

on GitHub

  1. open url https://github.com/locator-kn
  2. create online GitHub repsitory with plugin-name for example ark-mailer

on your computer

  1. open commandline
  2. create folder with plugin-name mkdir ark-mailer
  3. move into folder cd ark-mailer
  4. run yo
  5. select Hapi-Typescript Plugin
  6. follow introduction
  7. init git repo git init
  8. add all files git add .
  9. commit files git commit -m "initial commit"
  10. add new remote origin git remote add origin https://github.com/locator-kn/ark-mailer.git
  11. push repository to github git push -u origin master
  12. Finish!

Clone this wiki locally