Skip to content

Commit d8e038d

Browse files
initial commit
0 parents  commit d8e038d

Some content is hidden

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

49 files changed

+1472
-0
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.*
2+
!.env
3+
!.pylintrc

.editorconfig

Lines changed: 33 additions & 0 deletions
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=cride
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

.envs/.local/.django

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Redis
2+
REDIS_URL=redis://redis:6379/0
3+
4+
# Flower
5+
CELERY_FLOWER_USER=AkSCzUUkrubMopHkMlHHIiFnUzKhIidG
6+
CELERY_FLOWER_PASSWORD=jspxQGdwrs9VbGLmn5FmXRAGqNt5D6osRgqggNJl1JgcdcCYZdCf7Ch0jcgG0nH7

.envs/.local/.postgres

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# PostgreSQL
2+
POSTGRES_HOST=postgres
3+
POSTGRES_PORT=5432
4+
POSTGRES_DB=cride
5+
POSTGRES_USER=sBLRWyyPsInwHftmHAWmYJURGWBGFpLs
6+
POSTGRES_PASSWORD=tuXL3XSF8O7tsGrcGHoMos4tVNtL3tnrRshSCZokGnIfk4ArDyzaa297k2WgQPSL

.gitignore

Lines changed: 279 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,279 @@
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+
# celery beat schedule file
66+
celerybeat-schedule
67+
68+
# Environments
69+
.venv
70+
venv/
71+
ENV/
72+
73+
# Rope project settings
74+
.ropeproject
75+
76+
# mkdocs documentation
77+
/site
78+
79+
# mypy
80+
.mypy_cache/
81+
82+
83+
### Node template
84+
# Logs
85+
logs
86+
*.log
87+
npm-debug.log*
88+
yarn-debug.log*
89+
yarn-error.log*
90+
91+
# Runtime data
92+
pids
93+
*.pid
94+
*.seed
95+
*.pid.lock
96+
97+
# Directory for instrumented libs generated by jscoverage/JSCover
98+
lib-cov
99+
100+
# Coverage directory used by tools like istanbul
101+
coverage
102+
103+
# nyc test coverage
104+
.nyc_output
105+
106+
# Bower dependency directory (https://bower.io/)
107+
bower_components
108+
109+
# node-waf configuration
110+
.lock-wscript
111+
112+
# Compiled binary addons (http://nodejs.org/api/addons.html)
113+
build/Release
114+
115+
# Dependency directories
116+
node_modules/
117+
jspm_packages/
118+
119+
# Typescript v1 declaration files
120+
typings/
121+
122+
# Optional npm cache directory
123+
.npm
124+
125+
# Optional eslint cache
126+
.eslintcache
127+
128+
# Optional REPL history
129+
.node_repl_history
130+
131+
# Output of 'npm pack'
132+
*.tgz
133+
134+
# Yarn Integrity file
135+
.yarn-integrity
136+
137+
138+
### Linux template
139+
*~
140+
141+
# temporary files which can be created if a process still has a handle open of a deleted file
142+
.fuse_hidden*
143+
144+
# KDE directory preferences
145+
.directory
146+
147+
# Linux trash folder which might appear on any partition or disk
148+
.Trash-*
149+
150+
# .nfs files are created when an open file is removed but is still being accessed
151+
.nfs*
152+
153+
154+
### VisualStudioCode template
155+
.vscode/*
156+
!.vscode/settings.json
157+
!.vscode/tasks.json
158+
!.vscode/launch.json
159+
!.vscode/extensions.json
160+
161+
162+
163+
164+
165+
### Windows template
166+
# Windows thumbnail cache files
167+
Thumbs.db
168+
ehthumbs.db
169+
ehthumbs_vista.db
170+
171+
# Dump file
172+
*.stackdump
173+
174+
# Folder config file
175+
Desktop.ini
176+
177+
# Recycle Bin used on file shares
178+
$RECYCLE.BIN/
179+
180+
# Windows Installer files
181+
*.cab
182+
*.msi
183+
*.msm
184+
*.msp
185+
186+
# Windows shortcuts
187+
*.lnk
188+
189+
190+
### macOS template
191+
# General
192+
*.DS_Store
193+
.AppleDouble
194+
.LSOverride
195+
196+
# Icon must end with two \r
197+
Icon
198+
199+
# Thumbnails
200+
._*
201+
202+
# Files that might appear in the root of a volume
203+
.DocumentRevisions-V100
204+
.fseventsd
205+
.Spotlight-V100
206+
.TemporaryItems
207+
.Trashes
208+
.VolumeIcon.icns
209+
.com.apple.timemachine.donotpresent
210+
211+
# Directories potentially created on remote AFP share
212+
.AppleDB
213+
.AppleDesktop
214+
Network Trash Folder
215+
Temporary Items
216+
.apdisk
217+
218+
219+
### SublimeText template
220+
# Cache files for Sublime Text
221+
*.tmlanguage.cache
222+
*.tmPreferences.cache
223+
*.stTheme.cache
224+
225+
# Workspace files are user-specific
226+
*.sublime-workspace
227+
228+
# Project files should be checked into the repository, unless a significant
229+
# proportion of contributors will probably not be using Sublime Text
230+
# *.sublime-project
231+
232+
# SFTP configuration file
233+
sftp-config.json
234+
235+
# Package control specific files
236+
Package Control.last-run
237+
Package Control.ca-list
238+
Package Control.ca-bundle
239+
Package Control.system-ca-bundle
240+
Package Control.cache/
241+
Package Control.ca-certs/
242+
Package Control.merged-ca-bundle
243+
Package Control.user-ca-bundle
244+
oscrypto-ca-bundle.crt
245+
bh_unicode_properties.cache
246+
247+
# Sublime-github package stores a github token in this file
248+
# https://packagecontrol.io/packages/sublime-github
249+
GitHub.sublime-settings
250+
251+
252+
### Vim template
253+
# Swap
254+
[._]*.s[a-v][a-z]
255+
[._]*.sw[a-p]
256+
[._]s[a-v][a-z]
257+
[._]sw[a-p]
258+
259+
# Session
260+
Session.vim
261+
262+
# Temporary
263+
.netrwhist
264+
265+
# Auto-generated tag files
266+
tags
267+
268+
269+
### Project template
270+
271+
cride/media/
272+
273+
.pytest_cache/
274+
275+
276+
.ipython/
277+
.env
278+
.envs/*
279+
!.envs/.local/

.pylintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[MASTER]
2+
load-plugins=pylint_common, pylint_django, pylint_celery
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

CONTRIBUTORS.txt

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

LICENSE

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
The MIT License (MIT)
3+
Copyright (c) 2018, Pablo Trinidad
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10+

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Comparte Ride
2+
=============
3+
4+
Group-bounded, invite-only, carpooling platform

0 commit comments

Comments
 (0)