Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Commit a05e470

Browse files
committed
initial commit
0 parents  commit a05e470

580 files changed

Lines changed: 91839 additions & 0 deletions

File tree

Some content is hidden

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

.config/defacto2-inno

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
password

.config/defacto2.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"email": {
3+
"server": "smtp.gmail.com",
4+
"username": "defacto2@example.com",
5+
"password": "",
6+
"address": {
7+
"error": "error@example.com"
8+
}
9+
},
10+
"mysql": {
11+
"host": "db",
12+
"database": "defacto2-inno",
13+
"username": "root",
14+
"password": "password"
15+
},
16+
"operator": {
17+
"login": "true",
18+
"bypass": "false"
19+
},
20+
"wheels": "password"
21+
}

.env

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Windows Docker Compose environment file for Defacto2 development
2+
# Any changes to this file require a rebuild (see docker-compose.yml).
3+
#
4+
# On POSIX this .env file MUST be set to the
5+
# 400 (read,none,none) access permission mode.
6+
#
7+
# How to declare default environment variables in this file:
8+
# https://docs.docker.com/compose/env-file/
9+
# https://docs.docker.com/compose/reference/envvars/
10+
# https://docs.docker.com/compose/extends/
11+
12+
# Docker containers base name, ie. d2 = d2-app, d2-db, d2-web
13+
BASE_NAME=d2020
14+
15+
# Restart on
16+
# no (never)
17+
# always (on reboot)
18+
# on-failure (on error)
19+
# unless-stopped (always unless stopped)
20+
RESTART=always
21+
22+
# Public facing, non-standard ports.
23+
PORT_ADMINER=8558
24+
25+
# Insecure passwords
26+
# PW_MYSQL must match the same password as .config/defacto2-inno
27+
PW_MYSQL=password
28+
29+
# Directory paths.
30+
#
31+
# Use a dot value `.` for the local path to the docker-compose.yml file.
32+
# Linux example: /home/ben/defacto2-2020
33+
# macOS example: /Users/ben/defacto2-2020
34+
# Windows example: C:\github\defacto2-2020
35+
36+
# Working directory is a clone of the Defacto2 web application GitHub repository.
37+
WD=.
38+
39+
# Declare the absolute directory path to the file assets used by Defacto2.
40+
# Assets include thumbnails, file downloads and image previews.
41+
AD=/opt/assets-defacto2
42+
43+
# DOSee emulator directory.
44+
DD=/opt/dosee/build
45+
46+
# Source locations for CfWheels and nginx.
47+
CFWHEELS=./.config/defacto2.json
48+
LOCATIONS=./docker_assets/nginx/locations.conf
49+
REWRITE=./docker_assets/nginx/rewrite.conf

.gitattributes

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
wayback/* -crlf
2+
* text eol=lf
3+
4+
# Declare text files
5+
*.cfm text eol=lf
6+
*.cfc text eol=lf
7+
*.css text eol=lf
8+
*.conf text eol=lf
9+
*.dict text eol=lf
10+
*.js text eol=lf
11+
*.json text eol=lf
12+
*.map text eol=lf
13+
*.md text eol=lf
14+
*.sh text eol=lf
15+
*.sql text eol=lf
16+
*.svg text eol=lf
17+
*.yml text eol=lf
18+
*.xml text eol=lf
19+
20+
# Declare binary files
21+
*.bmp binary
22+
*.gif binary
23+
*.ico binary
24+
*.jpg binary
25+
*.jpeg binary
26+
*.mem binary
27+
*.pcx binary
28+
*.png binary
29+
*.ttf binary
30+
*.woff binary
31+
*.woff2 binary
32+
*.zip binary
33+
34+
# To fix corrupted files
35+
# cd to root and run:
36+
# git add --renormalize .
37+
#
38+
# info: https://www.gloomycorner.com/line-ending-configuration-in-git/

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
# Maintain dependencies for npm
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Defacto2-2020 Git ignore file #
2+
#################################
3+
# to remove existing files checked into the repo
4+
# git rm --cached <file>
5+
6+
/.gitconfig
7+
8+
# system files
9+
.DS_Store
10+
nppBackup*
11+
thumbs.db
12+
desktop.ini
13+
14+
# npm/yarn
15+
.pnp.*
16+
.yarn
17+
.yarnrc.*
18+
node_modules
19+
package-lock.json
20+
yarn.lock
21+
22+
# lucee
23+
ROOT/WEB-INF
24+
25+
# website assets
26+
/ROOT/emulator
27+
/ROOT/files/html/*
28+
/ROOT/incoming
29+
/uuid
30+
config-lock.json

.stylelintrc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": ["stylelint-config-standard", "stylelint-config-recommended"],
3+
"overrides": [
4+
{
5+
"files": ["**/*.less"],
6+
"customSyntax": "postcss-less",
7+
"rules": {
8+
"declaration-block-no-redundant-longhand-properties": null,
9+
"no-descending-specificity": null
10+
}
11+
},
12+
{
13+
"files": ["**/*.cfm", "**/*.htm"],
14+
"customSyntax": "postcss-html",
15+
"rules": {}
16+
}
17+
]
18+
}

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"recommendations": [
3+
"kamasamak.vscode-cflint",
4+
"kamasamak.vscode-cfml",
5+
"shanoor.vscode-nginx",
6+
"mikeburgh.xml-format",
7+
"ms-azuretools.vscode-docker",
8+
"dbaeumer.vscode-eslint",
9+
"esbenp.prettier-vscode",
10+
"formulahendry.auto-close-tag"
11+
]
12+
}

.vscode/launch.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"program": "${file}"
12+
}
13+
]
14+
}

.vscode/settings.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"breadcrumbs.enabled": true,
3+
"cflint.enabled": false,
4+
"editor.formatOnPaste": true,
5+
"editor.links": false,
6+
"editor.minimap.renderCharacters": false,
7+
"editor.snippetSuggestions": "none",
8+
"emmet.includeLanguages": {
9+
"cfml": "html"
10+
},
11+
"files.eol": "\n",
12+
"files.exclude": {
13+
"**/*.min.*": true,
14+
"**/.DS_Store": true,
15+
"**/.git": true,
16+
"**/.hg": true,
17+
"**/.sql": true,
18+
"**/.svn": true,
19+
"WEB-INF": true,
20+
"desktop.ini": true,
21+
"files/emularity/**": true,
22+
"files/json/*-*.json": false,
23+
"files/sitemap/**": true,
24+
"images/uuid/**": true,
25+
"wayback": true,
26+
"wheels": true
27+
},
28+
"files.trimFinalNewlines": true,
29+
"files.trimTrailingWhitespace": true,
30+
"spellright.documentTypes": [
31+
"markdown",
32+
"latex",
33+
"plaintext",
34+
"cfml",
35+
"javascript",
36+
"yaml"
37+
],
38+
"spellright.language": [
39+
"en_US"
40+
],
41+
"spellright.parserByClass": {
42+
"cfml": {
43+
"parser": "code"
44+
},
45+
"NGINX": {
46+
"parser": "markdown"
47+
},
48+
"yaml": {
49+
"parser": "markdown"
50+
}
51+
},
52+
"spellright.spellContextByClass": {
53+
"cfml": "comments"
54+
},
55+
"spellright.useDocumentSymbolsInCode": true,
56+
"spellright.notificationClass": "hint",
57+
"workbench.editor.closeOnFileDelete": true,
58+
"search.exclude": {
59+
"**/*.min.*": true,
60+
"**/dump.sql": true,
61+
"**/*~.cfc": true,
62+
"**/*~.cfm": true,
63+
}
64+
}

0 commit comments

Comments
 (0)