Skip to content

Commit

Permalink
Merge branch 'trunk' of github.com:Evanlab02/HomePortal into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanlab02 committed Nov 13, 2024
2 parents 3b85e9b + a8533af commit 74c8b41
Show file tree
Hide file tree
Showing 14 changed files with 187 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .release-please-manifest.json
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"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [0.3.2](https://github.com/Evanlab02/HomePortal/compare/v0.3.1...v0.3.2) (2024-11-13)


### Bug Fixes

* **Compose:** Update home portal images in compose file to '0.3.2' ([e0b9e87](https://github.com/Evanlab02/HomePortal/commit/e0b9e875542dfc4c71d233afd2c6b01f581369cb))
* **Documentation:** Added a note that the primary host for home portal will be the only one the admin page can be accessed on. ([f0468d0](https://github.com/Evanlab02/HomePortal/commit/f0468d0a96a3a60444b8ef84a21969781a737123))
* **Documentation:** Changed theme to mkdocs-material ([8526bd4](https://github.com/Evanlab02/HomePortal/commit/8526bd42640eea4814e5caeda76e9a9e2cb59cc5))
* **Documentation:** Update documentation URLs on home/index page, hosts were still the old values ([582b93b](https://github.com/Evanlab02/HomePortal/commit/582b93b67bef6aed935f6bda640b6137f103c9a0))
* **Documentation:** Updated the documentation to reflect that this project is not intended for production environments and is only a hobby project ([2739e1c](https://github.com/Evanlab02/HomePortal/commit/2739e1c12283c3a3c19cd542660b463c3c2dcc29))
* **Releases:** Removed all the duplicate release jobs and pipelines ([c90eba1](https://github.com/Evanlab02/HomePortal/commit/c90eba15039f71cf073049246205f6282e950c41))
* **ShoppingListApp:** Now officially support '0.17.0' of the ShoppingListApp. Updated documentatation to reflect this ([2906e8d](https://github.com/Evanlab02/HomePortal/commit/2906e8d2198590af41f407831c2d48c6bd0c7c62))

## [0.3.1](https://github.com/Evanlab02/HomePortal/compare/v0.3.0...v0.3.1) (2024-10-15)


Expand Down
6 changes: 3 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:

home-portal-admin:
container_name: hp-admin
image: ghcr.io/evanlab02/hp-admin:v0.2.0
image: ghcr.io/evanlab02/hp-admin:v0.3.2
env_file:
- .env
depends_on:
Expand All @@ -60,7 +60,7 @@ services:

home-portal-api:
container_name: hp-api
image: ghcr.io/evanlab02/hp-api:v0.2.0
image: ghcr.io/evanlab02/hp-api:v0.3.2
env_file:
- .env
depends_on:
Expand All @@ -77,7 +77,7 @@ services:

home-portal-site:
container_name: hp-site
image: ghcr.io/evanlab02/hp-site:v0.2.0
image: ghcr.io/evanlab02/hp-site:v0.3.2
env_file:
- .env
restart: always
Expand Down
11 changes: 11 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.3.2](https://github.com/Evanlab02/HomePortal/compare/home-portal-documentation-v0.3.1...home-portal-documentation-v0.3.2) (2024-11-13)


### Bug Fixes

* **Documentation:** Added a note that the primary host for home portal will be the only one the admin page can be accessed on. ([f0468d0](https://github.com/Evanlab02/HomePortal/commit/f0468d0a96a3a60444b8ef84a21969781a737123))
* **Documentation:** Changed theme to mkdocs-material ([8526bd4](https://github.com/Evanlab02/HomePortal/commit/8526bd42640eea4814e5caeda76e9a9e2cb59cc5))
* **Documentation:** Update documentation URLs on home/index page, hosts were still the old values ([582b93b](https://github.com/Evanlab02/HomePortal/commit/582b93b67bef6aed935f6bda640b6137f103c9a0))
* **Documentation:** Updated the documentation to reflect that this project is not intended for production environments and is only a hobby project ([2739e1c](https://github.com/Evanlab02/HomePortal/commit/2739e1c12283c3a3c19cd542660b463c3c2dcc29))
* **ShoppingListApp:** Now officially support '0.17.0' of the ShoppingListApp. Updated documentatation to reflect this ([2906e8d](https://github.com/Evanlab02/HomePortal/commit/2906e8d2198590af41f407831c2d48c6bd0c7c62))

## [0.3.1](https://github.com/Evanlab02/HomePortal/compare/home-portal-documentation-v0.3.0...home-portal-documentation-v0.3.1) (2024-10-15)


Expand Down
4 changes: 2 additions & 2 deletions docs/docs/apps/shopping-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Find below a snippet of what you need to add:
```yaml
shopping-django-administration:
container_name: shopping-django-admin
image: ghcr.io/evanlab02/shoppingappadmin:0.16.2
image: ghcr.io/evanlab02/shoppingappadmin:0.17.0
env_file:
- .env
environment:
Expand All @@ -62,7 +62,7 @@ Find below a snippet of what you need to add:

shopping-django-app:
container_name: shopping-django-app
image: ghcr.io/evanlab02/shoppingappbe:0.16.2
image: ghcr.io/evanlab02/shoppingappbe:0.17.0
environment:
SHOPPING_DEFAULT_SETTINGS_MODULE: shoppingapp.settings.settings
env_file:
Expand Down
119 changes: 119 additions & 0 deletions docs/docs/update/update0-3-2.md
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
```
1 change: 1 addition & 0 deletions docs/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2
7 changes: 7 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.1.1](https://github.com/Evanlab02/HomePortal/compare/hp-react-components-v0.1.0...hp-react-components-v0.1.1) (2024-11-13)


### Bug Fixes

* **#16:** Add story in storybook for the card component ([a91a007](https://github.com/Evanlab02/HomePortal/commit/a91a007d5e9d56bb9071162f5cfe72f4b6f87c9f))

## 0.1.0 (2024-09-19)


Expand Down
Binary file removed packages/components/index.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@evanlab02/hp-react-components",
"private": false,
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"main": "lib/index.cjs.cjs",
"module": "lib/index.es.cjs",
Expand Down
23 changes: 23 additions & 0 deletions packages/components/stories/Card.stories.tsx
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>
}
};
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2

0 comments on commit 74c8b41

Please sign in to comment.