Skip to content

Deploys P-Project repositories for development purposes.

License

Notifications You must be signed in to change notification settings

p-project/p-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P-Project Deployer

The P-Project Deployer can be used to install the whole project using a single command.

Deploy (install or update)

This command allows you to install or update the project in one command:

./deploy.py

You may pass an optional argument to clone using https method instead of ssh:

./deploy.py https

Run the applications

./run.py

Remove all the projects

./clear.py

Configuration files

To enable P-Deployer support for an application:

  • add a .p-properties.yml file at project root with following content:
dependencies:
  bin: # optional section
    - binary
    - another-binary
  script: # optional section
    - ./script-to-be-run
    - ./another-script
install:
  - install-command
  - ./script-to-be-run
run:
  - ./prepare-script
  - run-command

The bin and script section are checks that are run during install (checking if binaries are present on system and scripts return a 0 exit code). The install section contains commands that will be run if dependencies are met. The run section contains scripts that will be used to run the application.

About

Deploys P-Project repositories for development purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages