ProMaGen is a nodejs service to execute shell scripts by browser without terminal.
it's a WebUI tool for DevOps, give a chance to manage the project by browser.
It's dedicated for daily work by developers on local development and for end users, during testing the test version of application.
This is example of usage Apicra and Apiexec in ProMaGen application.
The concept based on API Foundation ecosystem to execute fast as possible any application in any environment.
In this example we are using 3 packages:
- sourcode of promagen one
- apicra installer for nodejs
- php executor for example service working on port 8080
At local development we are using some application based on localhost and in this example it's a PHP service just for a testing http://localhost:8080
The path for a executing the scripts is set on "../", the folder is currently used by this repository.
We have to options, creating such here scripts to control each external separated repositories
or we can create sourcode + ProMaGen code by creating the structure of project such:
- MainApp
- src
- docker
- vendor
- promagen
- restart.bat
- ... some files such composer.json
What we need add is just creating more scripts to execute by ProMaGen, we can use the all scripts here created and leave only:
restart.bat
To use it every time to restart our application and more scripts e.g.: to control our docker or another services...
At this point of view, we can control all folders inside the project by the bash scripts.
-
docker
- status
- build
- restart
- remove
-
mysql
- status
- backup
- restore
- restore_from_live
- replace_live_data
-
composer
- install
- clear
- repair
- update_packages
- update_composer
-
unittest
- restart
-
php
- restart
- logs
- clean_cache
-
files
- set_rights
- remove_temporary_files
first download by git cloning the code:
git clone https://github.com/promagen/windows.git promagen-win
go to the directory:
cd promagen-win
and start working with ProMaGen by scripts:
download.bat
install.bat
restart.bat
start browser on http://localhost:3001/
doc.bat
info.bat
update.bat