Skip to content

Commit

Permalink
Merge pull request #186 from cloudblue/minor-fixes
Browse files Browse the repository at this point in the history
LITE-25710: Fix minor bootstraping issues
  • Loading branch information
marcserrat authored Nov 18, 2022
2 parents a8705e9 + f426932 commit 1a15c05
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
from typing import List
from typing import List, Optional

from pydantic import BaseModel
from pydantic import BaseModel, validator


class Marketplace(BaseModel):
id: str
name: str
description: str
icon: str = (
'https://unpkg.com/@cloudblueconnect'
'/material-svg@latest/icons/google/language/baseline.svg'
)
icon: Optional[str]

@validator('icon')
def set_icon(cls, icon):
return icon or (
'https://unpkg.com/@cloudblueconnect'
'/material-svg@latest/icons/google/language/baseline.svg'
)


class Settings(BaseModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ docker compose up {{ project_slug }}_dev
If you would like to develop and test at the same time, we recommend you run your project using the command:

```sh
$ docker compose up {{ project_slug }}_bash
$ docker compose run {{ project_slug }}_bash
```

Once you get the interactive shell an help banner will be displayed to inform you about the included tools that can help you with the development of your extension.
Expand All @@ -34,7 +34,7 @@ Once you get the interactive shell an help banner will be displayed to inform yo
Additionally, a basic boilerplate for writing unit tests has been created, you can run the tests using:

```sh
$ docker compose up {{ project_slug }}_test
$ docker compose run {{ project_slug }}_test
```


Expand Down

0 comments on commit 1a15c05

Please sign in to comment.