8000 Allow multiple "profiles" when running dev-server · Issue #39 · ioBroker/dev-server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow multiple "profiles" when running dev-server #39
Closed
@UncleSamSwiss

Description

@UncleSamSwiss

This will allow us to have different test environments.

The current folder needs to be moved one hierarchy lower (and all files adjusted) when running the new version of dev-server. The newly introduced folder will be called "default".

If there is only one profile (i.e. one folder), it will be used automatically.
If there there are multiple profiles, the user must use the (new) additional parameter (after the command) to choose the profile.
If the user doesn't specify the parameter, he is asked to choose the profile from a list.

A new profile can be created by using dev-server setup <profile-name>. The new name shall only contain ASCII characters, dashes and periods; no other characters (including spaces) are allowed. If the profile already exists, setup works the same way as before: if there is no --force option, it fails.

The new command dev-server profile lists all available profiles (actually just the directory names).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0