Skip to content

A Simple Application to Deploy Project directly to Cloud.

License

Notifications You must be signed in to change notification settings

krtkvrm/autoploy

Repository files navigation

N|Solid

A Simple Application to Deploy Project from Github directly to Cloud.
Stable Release - v1.0

Installation

  • Configure SSH for Github on Cloud

  • Connect to Cloud via SSH

  • Install node.js

  • Clone autoploy and change directory to Application

    • $ git clone https://github.com/vkartik97/autoploy.git
    • $ cd autoploy
    • $ git update-index --assume-unchanged config/projects.json and $ git update-index --assume-unchanged config/projects.json to avoid pull conflicts
  • Add Repository details to autoploy/config/projects.json in format :
    { "REPOSITORY_NAME/BRANCH_NAME": [GITHUB_LINK, LOCATION_OF_DEPLOYMENT] }

  • Add deployment details to autoploy.js in the Root Directory of Project to deploy using autoploy :
    { "run": [ "BUILD_COMMMAND_1", "BUILD_COMMMAND_1" ] }

  • Change Directory to autoploy
    $ cd autoploy

  • Instal Dependencies
    $ npm install

  • Run the Application
    $ node autoploy_main.js

  • Configure Github Webhooks and Project to work with autoploy
    In Project Settings, add a Webhook pointing to URL:PORT/deploy of autoploy running on Cloud, the Content Type should be application/json and the Event to triger webhook should be push event N|Solid

Made during Mumbai Hackathon 2018

About

A Simple Application to Deploy Project directly to Cloud.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published