parent
b06fba71f4
commit
ca2db7b936
10 changed files with 105 additions and 2 deletions
@ -0,0 +1,4 @@ |
|||||||
|
{ |
||||||
|
"directory" : "static/vendor", |
||||||
|
"json" : "bower.json" |
||||||
|
} |
||||||
@ -0,0 +1,37 @@ |
|||||||
|
# For more information about the properties used in |
||||||
|
# this file, please see the EditorConfig documentation: |
||||||
|
# http://editorconfig.org/ |
||||||
|
|
||||||
|
root = true |
||||||
|
|
||||||
|
[*] |
||||||
|
charset = utf-8 |
||||||
|
end_of_line = lf |
||||||
|
indent_size = 4 |
||||||
|
indent_style = space |
||||||
|
insert_final_newline = true |
||||||
|
trim_trailing_whitespace = true |
||||||
|
|
||||||
|
|
||||||
|
[{*.scss, *.css}] |
||||||
|
charset = utf-8 |
||||||
|
end_of_line = lf |
||||||
|
indent_size = 2 |
||||||
|
indent_style = space |
||||||
|
insert_final_newline = true |
||||||
|
trim_trailing_whitespace = true |
||||||
|
|
||||||
|
[*.md] |
||||||
|
trim_trailing_whitespace = false |
||||||
|
|
||||||
|
[*.html] |
||||||
|
indent_size = 2 |
||||||
|
indent_style = space |
||||||
|
insert_final_newline = true |
||||||
|
trim_trailing_whitespace = true |
||||||
|
|
||||||
|
[{.travis.yml, package.json}] |
||||||
|
# The indent size used in the `package.json` file cannot be changed |
||||||
|
# https://github.com/npm/npm/pull/3180#issuecomment-16336516 |
||||||
|
indent_size = 2 |
||||||
|
indent_style = space |
||||||
@ -0,0 +1,16 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
import sys |
||||||
|
|
||||||
|
from .settings import * |
||||||
|
|
||||||
|
try: |
||||||
|
from .local import * |
||||||
|
except ImportError: |
||||||
|
print("Can't find module settings.local! Make it from local.py.example") |
||||||
|
|
||||||
|
# if manage.py test was called, use test settings |
||||||
|
if 'test' in sys.argv or 'jenkins' in sys.argv: |
||||||
|
try: |
||||||
|
from .testing import * |
||||||
|
except ImportError: |
||||||
|
pass |
||||||
@ -0,0 +1,28 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
|
||||||
|
from .settings import INSTALLED_APPS |
||||||
|
|
||||||
|
# SECURITY WARNING: keep the secret key used in production secret! |
||||||
|
SECRET_KEY = '...' |
||||||
|
|
||||||
|
# SECURITY WARNING: don't run with debug turned on in production! |
||||||
|
DEBUG = True |
||||||
|
|
||||||
|
INSTALLED_APPS += ('debug_toolbar', ) |
||||||
|
|
||||||
|
MIDDLEWARE_CLASSES += ['debug_toolbar.middleware.DebugToolbarMiddleware', ] |
||||||
|
|
||||||
|
|
||||||
|
DATABASES = { |
||||||
|
'default': { |
||||||
|
'ENGINE': 'django.db.backends.mysql', |
||||||
|
'NAME': u'...', |
||||||
|
'USER': u'...', |
||||||
|
'PASSWORD': u'...', |
||||||
|
'HOST': '', |
||||||
|
'PORT': '', |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
ALLOWED_HOSTS = ['127.0.0.1'] |
||||||
|
|
||||||
@ -0,0 +1,11 @@ |
|||||||
|
{ |
||||||
|
"name": "zuykov", |
||||||
|
"version": "0.1.0", |
||||||
|
"dependencies": { |
||||||
|
"angular": "1.3.6", |
||||||
|
"bootstrap": "3.3.5", |
||||||
|
"angular-bootstrap": "~0.10.0", |
||||||
|
"jquery.inputmask": "*", |
||||||
|
"font-awesome": "^4.7.0" |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1 @@ |
|||||||
|
-r requirements/prod.txt |
||||||
@ -0,0 +1,3 @@ |
|||||||
|
-r common.txt |
||||||
|
django-debug-toolbar==1.4 |
||||||
|
deployer-0.3.10 |
||||||
@ -0,0 +1 @@ |
|||||||
|
-r common.txt |
||||||
Loading…
Reference in new issue