OpenServerPanel
OpenServerPanel copied to clipboard
Add Profiles
The suggestion is to add "profiles". Example of a command:
project init --dir --domain --profile
The command creates a project folder, a subfolder is created .osp and the project.ini file inside
--dir - project directory, required parameter. If the projects_search_path variable does not contain the path to the project folder, the path is added. Example: --dir = path_to_project_directory\my_project There is no path_to_project_directory in the projects_search_path variable - it is automatically written to the variable
--domain - The domain name for project.ini. An optional parameter. If not specified, it is created automatically by the folder name and .local Example: my_project.local
--profile - Pre-defined profiles for projects with specific modules Example: default_profile.ini nginx_engine=NGINX157 node_engine=20.20.1 php_engine=8.1 ssl=on
ets