Skip to content

Commit

Permalink
rename example-content to example-content and fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément committed Aug 9, 2024
1 parent 23bf86d commit 0a93552
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN pip install -Ur requirements.txt \
COPY manage.py tsconfig.json vite.config.ts ./
COPY jssg/ jssg/
COPY content/ content/
COPY example-content/ example-content/

# Build
RUN ./manage.py migrate
Expand Down
1 change: 1 addition & 0 deletions content/front/entrypoints/demo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(document.getElementById("app")! as HTMLElement).textContent = "Hello, world"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
4 changes: 2 additions & 2 deletions jssg/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = environ.get("DJANGO_DEBUG", "false") == "true"

ALLOWED_HOSTS = ["exemple.org", "localhost"]
ALLOWED_HOSTS = ["example.org", "localhost"]

# JSSG
JFME_DOMAIN = "www.exemple.com"
JFME_CONTENT_DIRS = [BASE_DIR / "exemple-content"] + [BASE_DIR / "content"]
JFME_CONTENT_DIRS = [BASE_DIR / "example-content"] + [BASE_DIR / "content"]
JFME_PAGES_DIRS = [path / "pages" for path in JFME_CONTENT_DIRS]
JFME_POSTS_DIRS = [path / "posts" for path in JFME_CONTENT_DIRS]
JFME_TEMPLATES_DIRS = [path / "templates" for path in JFME_CONTENT_DIRS]
Expand Down

0 comments on commit 0a93552

Please sign in to comment.