Skip to content

Commit

Permalink
initial: 🎉 first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dino3616 committed Nov 12, 2024
0 parents commit e71dbc1
Show file tree
Hide file tree
Showing 33 changed files with 2,665 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "webnavix",
"workspaceFolder": "/workspaces/webnavix/",
"dockerComposeFile": ["../docker/docker-compose.development.yaml"],
"service": "app",
"customizations": {
"vscode": {
"extensions": [
"adam-bender.commit-message-editor",
"charliermarsh.ruff",
"eamodio.gitlens",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"ms-python.python",
"tamasfe.even-better-toml",
"VisualStudioExptTeam.vscodeintellicode"
]
}
}
}
30 changes: 30 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# cache
**/__pycache__/
**/.cache/
**/.mypy_cache/
**/.ruff_cache/
**/*.egg-info/

# dataset
**/wl_data/

# debug
**/*log*
**/wandb/

# deliverable
**/build/
**/dist/
**/out/
**/results/

# dependency
**/.venv/

# env file
**/.env*
!**/.env.example

# misc
**/.DS_Store
**/*.pem
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
COMPOSE_PROJECT_NAME="webnavix"
HF_TOKEN=""
PROJECT_DIR="/workspaces/webnavix/"
WANDB_API_KEY=""
WANDB_PROJECT=""
19 changes: 19 additions & 0 deletions .github/workflows/app-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: app test

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup rye
uses: eifinger/setup-rye@v4

- name: install dependencies
run: rye sync

- name: check
run: rye check
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# cache
__pycache__/
.cache/
.mypy_cache/
.ruff_cache/
*.egg-info/

# dataset
wl_data

# debug
*log*
wandb/

# deliverable
build/
checkpoints/
dist/
out/
results/

# dependency
.venv/

# env file
.env*
!.env.example

# misc
.DS_Store
*.pem
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
187 changes: 187 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
{
"commit-message-editor.tokens": [
{
"label": "Type",
"name": "type",
"type": "enum",
"description": "Type of changes.",
"combobox": true,
"options": [
{
"label": "feat: ✨",
"value": "feat: ✨",
"description": "Implementation of new features."
},
{
"label": "feat: 🎈",
"value": "feat: 🎈",
"description": "Repair of existing features."
},
{
"label": "feat: ⚰️",
"value": "feat: ⚰️",
"description": "Deletion of features."
},
{
"label": "fix: 🐛",
"value": "fix: 🐛",
"description": "Bug fixes."
},
{
"label": "fix: 🚑️",
"value": "fix: 🚑️",
"description": "Critical bug fixes or major changes."
},
{
"label": "doc: 📝",
"value": "doc: 📝",
"description": "Documentation changes."
},
{
"label": "typo: 🖋️",
"value": "typo: 🖋️",
"description": "Typography changes."
},
{
"label": "style: 💄",
"value": "style: 💄",
"description": "Style changes."
},
{
"label": "refactor: ♻️",
"value": "refactor: ♻️",
"description": "Code formatting or refactoring."
},
{
"label": "test: 🧪",
"value": "test: 🧪",
"description": "Test cases changes."
},
{
"label": "ci: 🦺",
"value": "ci: 🦺",
"description": "CI changes."
},
{
"label": "build: 📦️",
"value": "build: 📦️",
"description": "Build system or dependency changes."
},
{
"label": "container: 🐳",
"value": "container: 🐳",
"description": "The Dockerfile changes."
},
{
"label": "container: 🐙",
"value": "container: 🐙",
"description": "The docker-compose changes."
},
{
"label": "chore: 🔧",
"value": "chore: 🔧",
"description": "Configuration changes."
},
{
"label": "chore: 🔨",
"value": "chore: 🔨",
"description": "Development script changes."
},
{
"label": "chore: 🍱",
"value": "chore: 🍱",
"description": "Assets changes."
},
{
"label": "revert: ⏪️",
"value": "revert: ⏪️",
"description": "Reversion of changes."
},
{
"label": "wip: 🚧",
"value": "wip: 🚧",
"description": "Changes that will be squashed."
},
{
"label": "initial: 🎉",
"value": "initial: 🎉",
"description": "The first commit."
}
]
},
{
"label": "Scope",
"name": "scope",
"type": "text",
"description": "Scope of changes.",
"prefix": " (",
"suffix": ")"
},
{
"label": "Short Description",
"name": "description",
"type": "text",
"description": "Commit summary.",
"prefix": " "
},
{
"label": "Body",
"name": "body",
"type": "text",
"description": "Detailed description of commit.",
"maxLines": 10,
"multiline": true,
"lines": 5
},
{
"label": "Footer",
"name": "footer",
"description": "Description of disruptive changes or signature.",
"type": "text",
"multiline": true
}
],
"commit-message-editor.dynamicTemplate": [
"{type}{scope}{description}",
"",
"{body}",
"",
"{footer}"
],
"commit-message-editor.staticTemplate": [
"label: emoji (scope) short-description",
"",
"body",
"",
"footer"
],
"commit-message-editor.view.defaultView": "form",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.encoding": "utf8",
"files.eol": "\n",
"python.analysis.exclude": [
"**/__pycache__/",
"**/.cache/",
"**/.mypy_cache/",
"**/.ruff_cache/",
"**/.venv/",
"**/*.egg-info/",
"**/build/",
"**/checkpoints/",
"**/dist/",
"**/out/",
"**/results/",
"**/wandb/",
"**/wl_data/",
"**/*log/*"
],
"python.analysis.typeCheckingMode": "basic",
"python.defaultInterpreterPath": "/opt/rye/shims/python",
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
Loading

0 comments on commit e71dbc1

Please sign in to comment.