Skip to content

Commit 43f50a4

Browse files
committed
Initial commit
0 parents  commit 43f50a4

File tree

111 files changed

+3973
-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.

111 files changed

+3973
-0
lines changed

Diff for: .coveragerc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[run]
2+
include = demoapp/*
3+
omit = *migrations*, *tests*
4+
plugins =
5+
django_coverage_plugin

Diff for: .dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.*
2+
!.coveragerc
3+
!.env
4+
!.pylintrc

Diff for: .editorconfig

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{py,rst,ini}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.py]
16+
line_length=120
17+
known_first_party=demoapp
18+
multi_line_output=3
19+
default_section=THIRDPARTY
20+
21+
[*.{html,css,scss,json,yml}]
22+
indent_style = space
23+
indent_size = 2
24+
25+
[*.md]
26+
trim_trailing_whitespace = false
27+
28+
[Makefile]
29+
indent_style = tab
30+
31+
[nginx.conf]
32+
indent_style = space
33+
indent_size = 2

Diff for: .envs/.local/.django

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# General
2+
# ------------------------------------------------------------------------------
3+
USE_DOCKER=yes
4+
5+
# Redis
6+
# ------------------------------------------------------------------------------
7+
REDIS_URL=redis://redis:6379/0

Diff for: .envs/.local/.postgres

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# PostgreSQL
2+
# ------------------------------------------------------------------------------
3+
POSTGRES_HOST=postgres
4+
POSTGRES_PORT=5432
5+
POSTGRES_DB=demoapp
6+
POSTGRES_USER=debug
7+
POSTGRES_PASSWORD=debug

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

Diff for: .gitignore

+273
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
### Python template
2+
# Byte-compiled / optimized / DLL files
3+
__pycache__/
4+
*.py[cod]
5+
*$py.class
6+
7+
# C extensions
8+
*.so
9+
10+
# Distribution / packaging
11+
.Python
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
staticfiles/
55+
56+
# Sphinx documentation
57+
docs/_build/
58+
59+
# PyBuilder
60+
target/
61+
62+
# pyenv
63+
.python-version
64+
65+
66+
67+
# Environments
68+
.venv
69+
venv/
70+
ENV/
71+
72+
# Rope project settings
73+
.ropeproject
74+
75+
# mkdocs documentation
76+
/site
77+
78+
# mypy
79+
.mypy_cache/
80+
81+
82+
### Node template
83+
# Logs
84+
logs
85+
*.log
86+
npm-debug.log*
87+
yarn-debug.log*
88+
yarn-error.log*
89+
90+
# Runtime data
91+
pids
92+
*.pid
93+
*.seed
94+
*.pid.lock
95+
96+
# Directory for instrumented libs generated by jscoverage/JSCover
97+
lib-cov
98+
99+
# Coverage directory used by tools like istanbul
100+
coverage
101+
102+
# nyc test coverage
103+
.nyc_output
104+
105+
# Bower dependency directory (https://bower.io/)
106+
bower_components
107+
108+
# node-waf configuration
109+
.lock-wscript
110+
111+
# Compiled binary addons (http://nodejs.org/api/addons.html)
112+
build/Release
113+
114+
# Dependency directories
115+
node_modules/
116+
jspm_packages/
117+
118+
# Typescript v1 declaration files
119+
typings/
120+
121+
# Optional npm cache directory
122+
.npm
123+
124+
# Optional eslint cache
125+
.eslintcache
126+
127+
# Optional REPL history
128+
.node_repl_history
129+
130+
# Output of 'npm pack'
131+
*.tgz
132+
133+
# Yarn Integrity file
134+
.yarn-integrity
135+
136+
137+
### Linux template
138+
*~
139+
140+
# temporary files which can be created if a process still has a handle open of a deleted file
141+
.fuse_hidden*
142+
143+
# KDE directory preferences
144+
.directory
145+
146+
# Linux trash folder which might appear on any partition or disk
147+
.Trash-*
148+
149+
# .nfs files are created when an open file is removed but is still being accessed
150+
.nfs*
151+
152+
153+
### VisualStudioCode template
154+
.vscode/*
155+
!.vscode/settings.json
156+
!.vscode/tasks.json
157+
!.vscode/launch.json
158+
!.vscode/extensions.json
159+
160+
161+
162+
163+
164+
### Windows template
165+
# Windows thumbnail cache files
166+
Thumbs.db
167+
ehthumbs.db
168+
ehthumbs_vista.db
169+
170+
# Dump file
171+
*.stackdump
172+
173+
# Folder config file
174+
Desktop.ini
175+
176+
# Recycle Bin used on file shares
177+
$RECYCLE.BIN/
178+
179+
# Windows Installer files
180+
*.cab
181+
*.msi
182+
*.msm
183+
*.msp
184+
185+
# Windows shortcuts
186+
*.lnk
187+
188+
189+
### macOS template
190+
# General
191+
*.DS_Store
192+
.AppleDouble
193+
.LSOverride
194+
195+
# Icon must end with two \r
196+
Icon
197+
198+
# Thumbnails
199+
._*
200+
201+
# Files that might appear in the root of a volume
202+
.DocumentRevisions-V100
203+
.fseventsd
204+
.Spotlight-V100
205+
.TemporaryItems
206+
.Trashes
207+
.VolumeIcon.icns
208+
.com.apple.timemachine.donotpresent
209+
210+
# Directories potentially created on remote AFP share
211+
.AppleDB
212+
.AppleDesktop
213+
Network Trash Folder
214+
Temporary Items
215+
.apdisk
216+
217+
218+
### SublimeText template
219+
# Cache files for Sublime Text
220+
*.tmlanguage.cache
221+
*.tmPreferences.cache
222+
*.stTheme.cache
223+
224+
# Workspace files are user-specific
225+
*.sublime-workspace
226+
227+
# Project files should be checked into the repository, unless a significant
228+
# proportion of contributors will probably not be using Sublime Text
229+
# *.sublime-project
230+
231+
# SFTP configuration file
232+
sftp-config.json
233+
234+
# Package control specific files
235+
Package Control.last-run
236+
Package Control.ca-list
237+
Package Control.ca-bundle
238+
Package Control.system-ca-bundle
239+
Package Control.cache/
240+
Package Control.ca-certs/
241+
Package Control.merged-ca-bundle
242+
Package Control.user-ca-bundle
243+
oscrypto-ca-bundle.crt
244+
bh_unicode_properties.cache
245+
246+
# Sublime-github package stores a github token in this file
247+
# https://packagecontrol.io/packages/sublime-github
248+
GitHub.sublime-settings
249+
250+
251+
### Vim template
252+
# Swap
253+
[._]*.s[a-v][a-z]
254+
[._]*.sw[a-p]
255+
[._]s[a-v][a-z]
256+
[._]sw[a-p]
257+
258+
# Session
259+
Session.vim
260+
261+
# Temporary
262+
.netrwhist
263+
264+
# Auto-generated tag files
265+
tags
266+
267+
268+
### Project template
269+
270+
demoapp/media/
271+
.env
272+
.envs/*
273+
!.envs/.local/

Diff for: .pylintrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[MASTER]
2+
load-plugins=pylint_common, pylint_django
3+
4+
[FORMAT]
5+
max-line-length=120
6+
7+
[MESSAGES CONTROL]
8+
disable=missing-docstring,invalid-name
9+
10+
[DESIGN]
11+
max-parents=13
12+
13+
[TYPECHECK]
14+
generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}",save,delete

Diff for: CONTRIBUTORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sairam Krish

Diff for: LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)