Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Renaming sites to apps #424

Merged
merged 98 commits into from
Nov 19, 2021
Merged

Renaming sites to apps #424

merged 98 commits into from
Nov 19, 2021

Conversation

jasonmccallister
Copy link
Member

@jasonmccallister jasonmccallister commented Nov 4, 2021

Description

Adds a new apps config that replaces the sites config option.

All commands were also updated.

Also added a global --app flag to existing commands (e.g. nitro --app myapp.nitro ssh) and removed the site arg functionality (e.g. nitro start mysite.nitro). Instead the --app flag should be used.

To update an existing config from sites to apps, make the following changes:

Before

sites:
    - hostname: cloud-api.nitro
      path: ~/Repositories/cloud-api
      webroot: public
      version: "8.0"

After

apps:
    - hostname: cloud-api.nitro
      path: ~/Repositories/cloud-api
      webroot: public
      php_version: "8.0"

Related issues

Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
Signed-off-by: Jason McCallister <jason@craftcms.com>
@angrybrad angrybrad merged commit d0a9040 into 3.0 Nov 19, 2021
@jasonmccallister jasonmccallister deleted the feature/adding-app-config branch November 22, 2021 22:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants