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
99 changes: 99 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Python bytecode and cache
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/
.hypothesis/
.coverage.*
coverage.xml
*.cover

# Virtual environments
venv/
env/
ENV/
virtualenv/
.env
.venv
env.bak/
venv.bak/

# Distribution / packaging
dist/
build/
*.egg-info/
*.egg
MANIFEST
.installed.cfg
eggs/
develop-eggs/
downloads/
lib/
lib64/
parts/
sdist/
var/
wheels/

# Version control
.git
.gitignore
.gitattributes
.github/

# IDE and editors
.idea/
.vscode/
*.swp
*.swo
*~
.DS_Store
*.sublime-*
.project
.pydevproject
.settings
.spyderproject
.spyproject
.ropeproject

# Logs
logs/
*.log
pip-log.txt
pip-delete-this-directory.txt

# Docker specific
Dockerfile*
docker-compose*
.dockerignore

# Documentation
docs/
*.md
README*
LICENSE
AUTHORS

# Project specific
.pytest_cache/
.mypy_cache/
.ruff_cache/
.ipynb_checkpoints/
notebooks/
tests/
.flake8
setup.cfg
pyproject.toml
requirements-dev.txt
tox.ini

# Keep essential files
!requirements.txt
!setup.py
!pyproject.toml
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
PUBLIC_URL=.
PORT=3002
VITE_PORT=3000
VITE_ENV_API_URL=localhost
EXPOSED_PORT=3002
9 changes: 8 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "npm"

- name: Set up dependencies
run: sudo ./scripts/setup.sh

- name: Install Node dependencies
run: npm ci

- name: Check format
run: npm run format-check

- name: Check build
run: npm run build
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
name: Publish Site

on:
push:
branches: [main]
workflow_dispatch:

jobs:
build:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: write
packages: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
run: npm install --include=dev

- name: Run semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ vars.SCN_GIT_EMAIL }}
GIT_AUTHOR_NAME: ${{ vars.SCN_GIT_NAME }}
GIT_COMMITTER_EMAIL: ${{ vars.SCN_GIT_EMAIL }}
GIT_COMMITTER_NAME: ${{ vars.SCN_GIT_NAME }}
REPO_OWNER: "Local-Connectivity-Lab"
REPO_NAME: "ccn-coverage-docker"
TARGET_ARTIFACT_NAME: "ccn-coverage-backup-helper"
run: npx semantic-release
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "models/ccn-coverage-models"]
path = models/ccn-coverage-models
url = https://github.com/Local-Connectivity-Lab/ccn-coverage-models.git
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
22.14.0
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"tabWidth": 2,
"printWidth": 80,
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSpacing": true,
"arrowParens": "avoid",
"trailingComma": "all"
}
59 changes: 59 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/git",
"@semantic-release/github"
],
"prepare": [
"@semantic-release/changelog",
"./scripts/publish-version.js",
"@semantic-release/git"
]
}
Loading