Code Monkey home page Code Monkey logo

deployment-server's Introduction

Deployment server

Api:

hostname:port/browse:

Returns the list of servers with names or IDs based on searchString:

{query:"query"}

hostname:port/clear:

Clears the errors and messages fields for a given server/servers:

{query:"query"}

hostname:port/deploy:

Deploys the app cloned from the repository URL sullied with the request. Only public repositories thar are valid Node.js or plain HTML are supported. Entry point must be specified in package.json file eg. {"main": "server.js"} or {"main": "index.js"}. Ports are incrementally associated going up from the deployment servers port.

{query:"repoLink"}

hostname:port/browse:

Returns the servers from the .json file that represents the manifest of currently deployed servers.

{query:"query"}

hostname:port/find:

Same as "browse" only returns the list of currently active(running) servers based on query.

{query:"query"}

hostname:port/remove:

Removes the repository folder based on query and updates .json manifest file. Frees up the port on which the previous server was deployed. Supports multiple results.

{query:"query"}

hostname:port/run:

Runs the server based on query on its specified port. Supports multiple results.

{query:"query"}

hostname:port/update:

Terminates the child server and preforms git pull for the given repository. Does not run the server after completion.

{query:"query"}

hostname:port-1/

Terminates the server and preforms its update using git pull. Runs the server on the initial port after successful update.

deployment-server's People

Contributors

7aske avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.