Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .github/workflows/build_ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,25 @@ jobs:
with:
python-version: "3.13"

- name: Install dependencies
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev # Install dev dependencies from Pipfile

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: 'apps/moji_maker/svelte/package-lock.json'

- name: Install Node dependencies and build Svelte
run: |
cd apps/moji_maker/svelte
npm ci
npm run build

- name: Run tests for ${{ matrix.test_target || 'all apps' }}
run: |
if [ -n "${{ matrix.test_target }}" ]; then
Expand Down Expand Up @@ -126,6 +139,19 @@ jobs:
# Done!
echo "Generated Path: ${{ env.PACKAGE_PATH }} and tag: ${{ env.SANITIZED_BRANCH }}"

- name: Setup Node.js for Docker build
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: 'apps/moji_maker/svelte/package-lock.json'

- name: Build Svelte for production
run: |
cd apps/moji_maker/svelte
npm ci
npm run build

- name: Inject Git commit into the build
run: |
echo "GIT_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
Expand Down
Empty file added apps/moji_maker/__init__.py
Empty file.
6 changes: 6 additions & 0 deletions apps/moji_maker/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class MojiMakerConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.moji_maker"
Empty file.
Binary file added apps/moji_maker/static/moji_maker/base_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/moji_maker/static/moji_maker/css/bundle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Loading
Loading