Download the PHP package jhoncytech/automatic-deployment without Composer

On this page you can find all versions of the php package jhoncytech/automatic-deployment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package automatic-deployment

automated-deployment

Automated deployment script through Vagrant

 

Requirements

 

Description

This script developed with shell allows you to create a machine on a local PC by using vagrant at the same time that it deploy the local environment to remote production environment, in the same way, the script is capable of doing both "deployments and rollbacks" to the same time that makes commits to GitHub account.

 

Features

With this script you can:

 

Tools, software and packages used

 

How to use it

Step-by-step installation.

  1. Create an empty private repository on GitHub where project deployments will be stored and controlled.

    • This step will only be done the first time, since it is not necessary afterwards.
    • It is very important that you know that every time you create a new project, the repository must also be new.

  1. Get the project.

    USE THE OPTION YOU WANT TO GET THE PROJECT

    OPTION 1 - GET FROM COMPOSER

    Go to where you want to create the project.

    Create project using composer.

    Go to new created directory.


    OPTION 2 - GET FROM GITHUB REPOSITORY

    Go to where you want to create the project.

    Create a directory on your pc where the entire project will be managed.

    Go to new created directory.

    Clone from GitHub the Automated Vagrant Deployment project by JhonnyGO.


  1. Edit the project [Vagrantfile] file.

    This file is located in the folder C:\Users\User\Documents\my-web\Vagrantfile

    It's very important that you edit the following mandatory parameters:

    • config.vm.hostname = "my-web" => Name of the host you want for your local server
    • config.vm.network = "192.168.10.10 => Private IP you want for your local server
    • vb.name = "local-my-web" => Machine name for Virtualbox

    There are more optional values, feel free to modify them according to your needs.


  1. Edit the [00-shell-script-config.sh] file

    This file is located in the folder C:\Users\User\Documents\my-web\config\scripts\00-shell-script-config.sh

    It's very important that you edit the following mandatory parameters:

    • REMOTE_IP="" It must be a public IP, since it is the IP of the remote server.
    • LOCAL_IP="192.168.10.10" It must be a private IP which is the IP of the local server used in Vagrantfile file.
    • GIT_USER_NAME="Jeff Smith" GitHub user who will perform the commits.
    • GIT_USER_EMAIL="[email protected]" Email of the GitHub user who will perform the commits.
    • REPO_GITHUB_HTML="" URL in SSH format of the GitHub repository where the deployments will be made.

    NOTE: Remember that if you not indicated some password that password will be generated automatically.


  1. Create the SSH key pair to work with the project repository.

    Go to following folder of the SSH project Keys: [ssh-keys]

    • Use as name: ssh-key-local-test
    • Keep password empty:

    The above command will create your SSH key pair.

    IMPORTANT: If you already have your own key pair, you can copy and paste them into this directory.


  1. Add the public key of your local server [ssh-key-local-test.pub] on the remote server so that the local server can communicate with the remote one.

    In local server

    In remote server

    copy your local server's public key [ssh-key-local-test.pub] at the end of the file.

  2. Add the public key of your local server [ssh-key-local-test.pub] to the GitHub account that I created earlier.

  1. Now, Its time to starts the project.

    In remote server


Available project's commands

Local Server

Remote Server

Contactos

- Mail: [email protected]
- Web: https://jhoncytech.com
---
- Mail: [email protected]
- Web: https://jhonnygo.com

All versions of automatic-deployment with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jhoncytech/automatic-deployment contains the following files

Loading the files please wait ....