README
autonode
Autonode is a Node tool for automatically deploying a javascript Github repo to a server.
Installation:
npm:
npm install @chxry/autonode
yarn:
yarn add @chxry/autonode
How to use:
Run autonode to generate a autonode.json config file.
npm:
npx autonode
yarn:
yarn autonode
Create a github webhook to your server.
Use the port you defined in the autonode.json file.
Run autonode again.
Autonode will now listen to webhooks from github and restart your javascript program when a new commit is made.