Skip to content

Commit a52d5ac

Browse files
Initial commit
0 parents  commit a52d5ac

File tree

5,736 files changed

+379941
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,736 files changed

+379941
-0
lines changed

.codeclimate.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Save as .codeclimate.yml (note leading .) in project root directory
2+
version: "2"
3+
languages:
4+
Ruby: false
5+
JavaScript: true
6+
PHP: false
7+
checks:
8+
file-lines:
9+
config:
10+
threshold: 500
11+
method-lines:
12+
config:
13+
threshold: 75
14+
method-complexity:
15+
config:
16+
threshold: 10
17+
similar-code:
18+
config:
19+
threshold: 65
20+
plugins:
21+
duplication:
22+
enabled: true
23+
config:
24+
languages:
25+
javascript:
26+
mass_threshold: 110
27+
count_threshold: 3
28+
exclude_paths:
29+
- "public/vendor/*"
30+
- "test/*"

.devcontainer/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm
2+
3+
RUN apt-get update \
4+
&& apt-get install -y \
5+
iputils-ping \
6+
redis-server \
7+
&& rm -rf /var/lib/apt/lists/*
8+
9+
RUN curl https://qlty.sh | /bin/bash \
10+
&& mv ~/.qlty/bin/qlty /usr/local/bin/qlty \
11+
&& rm -rf ~/.qlty \
12+
&& qlty --version

.devcontainer/devcontainer.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
3+
{
4+
"name": "NodeBB",
5+
"build": {
6+
"dockerfile": "Dockerfile"
7+
},
8+
"postCreateCommand": "redis-server --daemonize yes",
9+
"postStartCommand": "redis-server --daemonize yes || true",
10+
11+
"forwardPorts": [4567],
12+
"portsAttributes": {
13+
"4567": {
14+
"label": "NodeBB"
15+
}
16+
},
17+
18+
"customizations": {
19+
"vscode": {
20+
"extensions": [
21+
"42crunch.vscode-openapi",
22+
"ms-vscode.live-server",
23+
"redis.redis-for-vscode",
24+
"GitHub.copilot",
25+
"GitHub.copilot-chat",
26+
"Copilot-Archiver.copilot-archiver"
27+
]
28+
}
29+
},
30+
"containerEnv": {
31+
"NODEBB_PORT": "4567",
32+
"NODEBB_DB": "redis",
33+
"NODEBB_REDIS_HOST": "127.0.0.1",
34+
"NODEBB_REDIS_PORT": "6379",
35+
"NODEBB_REDIS_PASSWORD": "",
36+
"NODEBB_REDIS_DB": "0",
37+
"NODEBB_ADMIN_USERNAME": "admin",
38+
"NODEBB_ADMIN_PASSWORD": "password123!",
39+
"NODEBB_ADMIN_EMAIL": "admin@admin.admin"
40+
}
41+
}

.docker/.gitkeep

Whitespace-only changes.

.docker/build/.gitkeep

Whitespace-only changes.

.docker/config/.gitkeep

Whitespace-only changes.

.docker/database/mongo/data/.gitkeep

Whitespace-only changes.

.docker/database/postgresql/data/.gitkeep

Whitespace-only changes.

.docker/database/redis/data/.gitkeep

Whitespace-only changes.

.docker/public/uploads/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)