-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' of github.com:Evanlab02/HomePortal into trunk
- Loading branch information
Showing
14 changed files
with
187 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
".": "0.3.1", | ||
".": "0.3.2", | ||
"backend": "0.3.0", | ||
"docs": "0.3.1", | ||
"docs": "0.3.2", | ||
"frontend": "0.3.1", | ||
"site": "0.2.0", | ||
"packages/components": "0.1.0" | ||
"packages/components": "0.1.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
# Update Guide for 0.3.2 | ||
|
||
## Introduction | ||
|
||
This guide is intended to help you update your project from version 0.2.0 to 0.3.2. It will guide you through the changes that need to be made in order to update your project. | ||
|
||
### Get ready for a new look and feel of documentation | ||
|
||
We have updated the way the docs look and feel, this should not be too much of an adjustment, but worthwhile to put here. | ||
|
||
### Upgrading images to 0.3.2 | ||
|
||
The most simple step is to upgrade all the home portal images to `v0.3.2`. | ||
|
||
```yaml | ||
home-portal-admin: | ||
container_name: hp-admin | ||
image: ghcr.io/evanlab02/hp-admin:v0.3.2 | ||
env_file: | ||
- .env | ||
depends_on: | ||
home-portal-postgres-16: | ||
condition: service_healthy | ||
restart: always | ||
networks: | ||
- home-portal-network | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: '1.0' | ||
memory: 512M | ||
command: "/bin/bash -c 'python manage.py migrate && uvicorn hub.admin.asgi:application --host 0.0.0.0 --port 80 --workers 1'" | ||
|
||
home-portal-api: | ||
container_name: hp-api | ||
image: ghcr.io/evanlab02/hp-api:v0.3.2 | ||
env_file: | ||
- .env | ||
depends_on: | ||
home-portal-postgres-16: | ||
condition: service_healthy | ||
restart: always | ||
networks: | ||
- home-portal-network | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: '1.0' | ||
memory: 512M | ||
|
||
home-portal-site: | ||
container_name: hp-site | ||
image: ghcr.io/evanlab02/hp-site:v0.3.2 | ||
env_file: | ||
- .env | ||
restart: always | ||
expose: | ||
- 80 | ||
- 9999 | ||
ports: | ||
- "80:80" | ||
- "9999:9999" | ||
networks: | ||
- home-portal-network | ||
volumes: | ||
- ./site/Caddyfile:/etc/caddy/Caddyfile | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: '1.0' | ||
memory: 512M | ||
``` | ||
### Update Shopping List App to 0.17.0 if you are using it | ||
Now officially support and recommend version `0.17.0` of the Shopping List App. Please review the [changelog](https://github.com/Evanlab02/ShoppingListApp/releases/tag/v0.17.0) for the Shopping List App on its repository. | ||
|
||
**NOTE: You should also review the changelog for all versions between `0.16.2` and `0.17.0`. These are mostly behind the scene improvements, that are easy to start using with this upgrade.** | ||
|
||
```yaml | ||
shopping-django-administration: | ||
container_name: shopping-django-admin | ||
image: ghcr.io/evanlab02/shoppingappadmin:0.17.0 | ||
env_file: | ||
- .env | ||
environment: | ||
SHOPPING_DEFAULT_SETTINGS_MODULE: shoppingapp.settings.settings | ||
command: /bin/bash -c "python manage.py migrate && python manage.py runserver" | ||
depends_on: | ||
home-portal-postgres-16: | ||
condition: service_healthy | ||
networks: | ||
- home-portal-network | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: '1.0' | ||
memory: 512M | ||
shopping-django-app: | ||
container_name: shopping-django-app | ||
image: ghcr.io/evanlab02/shoppingappbe:0.17.0 | ||
environment: | ||
SHOPPING_DEFAULT_SETTINGS_MODULE: shoppingapp.settings.settings | ||
env_file: | ||
- .env | ||
command: "gunicorn -b 0.0.0.0:80 -w 1 --log-config shoppingapp/logging.config --capture-output --log-level info --worker-class uvicorn_worker.UvicornWorker 'shoppingapp.config.asgi:app'" | ||
depends_on: | ||
home-portal-postgres-16: | ||
condition: service_healthy | ||
networks: | ||
- home-portal-network | ||
restart: always | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: '1.0' | ||
memory: 512M | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,3 +42,4 @@ nav: | |
- Sonarr: apps/sonarr.md | ||
- Update Guides: | ||
- V0.2.0: update/update0-2-0.md | ||
- V0.3.2: update/update0-3-2.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.1 | ||
0.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from "react"; | ||
import type { Meta, StoryObj } from "@storybook/react"; | ||
import HpCard from "../src/Card"; | ||
|
||
const meta: Meta<typeof HpCard> = { | ||
component: HpCard, | ||
parameters: { | ||
backgrounds: { | ||
default: "dark" | ||
} | ||
} | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof HpCard>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
title: "Home Portal Card", | ||
extra: <a>Extra Elements</a>, | ||
children: <p>This is a home portal card.</p> | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.1 | ||
0.3.2 |