Skip to content

Commit

Permalink
Initial commit to public repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Lane committed Oct 8, 2015
0 parents commit 180a65e
Show file tree
Hide file tree
Showing 74 changed files with 4,957 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "confidant/public/bower_components"
}
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
service.env
node_modules
.sass-cache
.tmp
*.pyc
lib
test
tests
docker-compose.yml
Dockerfile
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.json]
indent_size = 2

[*.yaml]
indent_size = 2

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
55 changes: 55 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
*.swp

*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml
karma-test-results.xml

# Translations
*.mo

# build packages or files that shouldn't be in repo
node_modules
bower_components
.sass-cache
.tmp
confidant/public/dist
confidant/public/styles/*.css
service.env

# Mr Developer (mac, editor, IDEs, etc)
.mr.developer.cfg
.project
.pydevproject
.vagrant
.ropeproject
.tmp
.sass-cache
.DS_store
.zedstate
.idea
23 changes: 23 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"node": true,
"browser": true,
"esnext": true,
"bitwise": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"globals": {
"angular": false
}
}
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:trusty
MAINTAINER Ryan Lane <rlane@lyft.com>

RUN apt-get update && \
# For frontend
apt-get install -y ruby-full npm nodejs nodejs-legacy git git-core && \
# For backend
apt-get install -y python python-pip python-dev build-essential libffi-dev

ADD . /srv/confidant

WORKDIR /srv/confidant

RUN gem install compass && \
npm install grunt-cli && \
npm install && \
node_modules/grunt-cli/bin/grunt build

RUN pip install -r requirements_export.txt && \
pip install -r requirements.txt

EXPOSE 80

CMD ["gunicorn","wsgi:app","--workers=2","-k","gevent"]
Loading

1 comment on commit 180a65e

@babldev
Copy link

@babldev babldev commented on 180a65e Nov 4, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commitoftheweek

Please sign in to comment.