Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- run: pip install -r requirements.txt
- run: pip install -U pip && pip install --group prod
- run: python manage.py test
env:
SECRET_KEY: "dummy-secret-key-for-ci"
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ target/
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ A Django-based cloud translation management system. Manages translation projects
Local dev uses SQLite by default — no database setup needed.

```bash
uv sync # or: pip install --group dev
python manage.py migrate
python manage.py runserver 0.0.0.0:8080
```
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ RUN apt-get update && \
apt-get install -y postgresql-client

RUN pip install -U pip && \
pip install -r requirements.txt && \
pip install gunicorn
pip install --group prod

COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = "Kaplan"

# The full version, including alpha/beta/rc tags
release = "0.5.1"
release = "0.6.0.dev0"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion kaplancloud/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.1"
__version__ = "0.6.0.dev0"
2 changes: 1 addition & 1 deletion kaplancloudapp/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<input type="checkbox" value="kaplan-dark" class="toggle toggle-sm toggle-primary ml-auto" aria-label="Toggle dark mode"
onchange="var t = this.checked ? 'kaplan-dark' : 'kaplan-light'; document.documentElement.setAttribute('data-theme', t); localStorage.setItem('theme', t);" />
</label>
<div class="px-3 py-1 text-xs text-base-content/30">v0.5.1</div>
<div class="px-3 py-1 text-xs text-base-content/30">v0.6.0.dev0</div>
</div>
</aside>
</div>
Expand Down
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
[project]
name = "kaplancloud"
version = "0.6.0.dev0"
requires-python = ">=3.12"

[tool.uv]
package = false
default-groups = ["dev"]

[dependency-groups]
prod = [
"Django~=5.2",
"djangorestframework~=3.17",
"django-storages[boto3,google]>=1.14,<2.0",
"kaplan>=0.16,<0.17",
"psycopg2-binary>=2.9,<3.0",
"django-tailwind>=4.4,<5.0",
"gunicorn>=25.0,<26.0",
]
dev = [
{include-group = "prod"},
"ruff",
]

[tool.ruff]
target-version = "py312"
line-length = 88
Expand Down
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

877 changes: 877 additions & 0 deletions uv.lock

Large diffs are not rendered by default.

Loading