Coder Social home page Coder Social logo

simple-php-updater's Introduction

About

简体中文

1. Overview

  • This is an update tool designed for php;
  • It can cooperate with GitHub Hook function to realize simple automatic deployment;

2. Function

  1. Download the zip file to the server;
  2. Automatic unzip;
  3. Clear the target file (directory);
  4. Copy the new file (directory) to the target file (directory);
  5. The file (directory) to be protected can be set;

3. Application

3.1. Manually deploy the website on github to the virtual host

  • Configure deploy.json in the same directory as deploy.php;
  • Visit the deploy.php on the virtual host through a browser;
  • Complete the deployment;

3.2. Automatically update markdown content files to the website

  • Configure deploy.json in the same directory as deploy.php;
  • Use the hook function of github to monitor specific branches of the source code library;
  • Set the hook's push event to trigger an http request to access the deploy.php on the virtual host;
  • Complete the deployment;

4. Others

  • When copying, existing files will be overwritten;
  • Chinese file names may not be deleted;

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.