Skip to content

Commit 92ba422

Browse files
committed
fix: Ignore pyc and fix daphne entrypoint on Dockerfile
1 parent b53ed55 commit 92ba422

28 files changed

Lines changed: 98 additions & 33 deletions

api/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.env
1+
.env
2+
**__pycache__/

api/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ COPY . .
3232
# ---- runtime ----
3333
EXPOSE 8000
3434

35-
CMD ["uv", "run","daphne", "-b", "0.0.0.0", "-p", "8000", "etherbeing.asgi:application"]
35+
WORKDIR /app/src/etherbeing
36+
37+
ENTRYPOINT ["uv", "run","daphne", "-b", "0.0.0.0", "-p", "8000", "etherbeing.asgi:application"]

api/pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "api"
2+
name = "etherbeing"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
@@ -14,3 +14,14 @@ dependencies = [
1414
"redis>=7.1.0",
1515
"requests>=2.32.5",
1616
]
17+
18+
19+
[build-system]
20+
requires = ["setuptools"]
21+
build-backend = "setuptools.build_meta"
22+
23+
[tool.setuptools]
24+
package-dir = {"" = "src"}
25+
26+
[tool.setuptools.packages.find]
27+
where = ["src"]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Metadata-Version: 2.4
2+
Name: etherbeing
3+
Version: 0.1.0
4+
Summary: Add your description here
5+
Requires-Python: >=3.13
6+
Description-Content-Type: text/markdown
7+
Requires-Dist: daphne>=4.2.1
8+
Requires-Dist: django>=6.0
9+
Requires-Dist: django-redis>=6.0.0
10+
Requires-Dist: djangorestframework>=3.16.1
11+
Requires-Dist: dotenv>=0.9.9
12+
Requires-Dist: psycopg
13+
Requires-Dist: redis>=7.1.0
14+
Requires-Dist: requests>=2.32.5
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
README.md
2+
pyproject.toml
3+
src/etherbeing/manage.py
4+
src/etherbeing.egg-info/PKG-INFO
5+
src/etherbeing.egg-info/SOURCES.txt
6+
src/etherbeing.egg-info/dependency_links.txt
7+
src/etherbeing.egg-info/requires.txt
8+
src/etherbeing.egg-info/top_level.txt
9+
src/etherbeing/apps/base/__init__.py
10+
src/etherbeing/apps/base/admin.py
11+
src/etherbeing/apps/base/apps.py
12+
src/etherbeing/apps/base/controllers.py
13+
src/etherbeing/apps/base/models.py
14+
src/etherbeing/apps/base/serializers.py
15+
src/etherbeing/apps/base/tests.py
16+
src/etherbeing/apps/base/views.py
17+
src/etherbeing/apps/base/migrations/0001_initial.py
18+
src/etherbeing/apps/base/migrations/0002_remove_blogentry_author_remove_blogentry_title_and_more.py
19+
src/etherbeing/apps/base/migrations/0003_project_description_project_github_id_and_more.py
20+
src/etherbeing/apps/base/migrations/0004_project_name.py
21+
src/etherbeing/apps/base/migrations/0005_alter_project_description.py
22+
src/etherbeing/apps/base/migrations/__init__.py
23+
src/etherbeing/etherbeing/__init__.py
24+
src/etherbeing/etherbeing/asgi.py
25+
src/etherbeing/etherbeing/settings.py
26+
src/etherbeing/etherbeing/urls.py
27+
src/etherbeing/etherbeing/wsgi.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
daphne>=4.2.1
2+
django>=6.0
3+
django-redis>=6.0.0
4+
djangorestframework>=3.16.1
5+
dotenv>=0.9.9
6+
psycopg
7+
redis>=7.1.0
8+
requests>=2.32.5
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
etherbeing
-192 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)