OpenServerPanel icon indicating copy to clipboard operation
OpenServerPanel copied to clipboard

Add Profiles

Open HMRDevil opened this issue 2 months ago • 0 comments

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

HMRDevil avatar May 14 '24 20:05 HMRDevil