-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
602 changed files
with
18,473 additions
and
63,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
node_modules | ||
dist | ||
# Folders | ||
.idea | ||
.tmp | ||
.sass-cache | ||
.vagrant | ||
*.sublime-project | ||
*.sublime-workspace | ||
|
||
app/bower_components | ||
app/scripts/main.js | ||
app/bundle.js | ||
app/media | ||
.idea | ||
.vagrant | ||
dist | ||
nbproject/* | ||
node_modules | ||
tags | ||
|
||
# Files | ||
*.iml | ||
.DS_Store | ||
|
||
# Ottemo Specific | ||
app/scripts/config.js | ||
dashboard.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options | ||
// Documentation: https://github.com/einars/js-beautify/ | ||
"html": { | ||
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"], | ||
"brace_style": "collapse", // [collapse|expand|end-expand|none] Put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are | ||
"end_with_newline": true, // End output with newline | ||
"indent_char": " ", // Indentation character | ||
"indent_handlebars": false, // e.g. {{#foo}}, {{/foo}} | ||
"indent_inner_html": false, // Indent <head> and <body> sections | ||
"indent_scripts": "keep", // [keep|separate|normal] | ||
"indent_size": 4, // Indentation size | ||
"max_preserve_newlines": 2, // Maximum number of line breaks to be preserved in one chunk (0 disables) | ||
"preserve_newlines": true, // Whether existing line breaks before elements should be preserved (only works before elements, not inside tags or for text) | ||
"unformatted": ["a", "span", "img", "code", "pre", "sub", "sup", "em", "strong", "b", "i", "u", "strike", "big", "small", "pre", "h1", "h2", "h3", "h4", "h5", "h6"], // List of tags that should not be reformatted | ||
"wrap_line_length": 250, // Lines should wrap at next opportunity after this number of characters (0 disables) | ||
"wrap_attributes": "force", | ||
"wrap_attributes_indent_size": 4 | ||
}, | ||
"css": { | ||
"allowed_file_extensions": ["css", "scss", "sass", "less"], | ||
"end_with_newline": false, // End output with newline | ||
"indent_char": " ", // Indentation character | ||
"indent_size": 4, // Indentation size | ||
"newline_between_rules": true, // Add a new line after every css rule | ||
"selector_separator": " ", | ||
"selector_separator_newline": true // Separate selectors with newline or not (e.g. "a,\nbr" or "a, br") | ||
}, | ||
"js": { | ||
"allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], | ||
"brace_style": "collapse", // [collapse|expand|end-expand|none] Put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are | ||
"break_chained_methods": false, // Break chained method calls across subsequent lines | ||
"e4x": false, // Pass E4X xml literals through untouched | ||
"end_with_newline": true, // End output with newline | ||
"indent_char": " ", // Indentation character | ||
"indent_level": 0, // Initial indentation level | ||
"indent_size": 4, // Indentation size | ||
"indent_with_tabs": false, // Indent with tabs, overrides `indent_size` and `indent_char` | ||
"jslint_happy": false, // If true, then jslint-stricter mode is enforced | ||
"keep_array_indentation": false, // Preserve array indentation | ||
"keep_function_indentation": false, // Preserve function indentation | ||
"max_preserve_newlines": 2, // Maximum number of line breaks to be preserved in one chunk (0 disables) | ||
"preserve_newlines": true, // Whether existing line breaks should be preserved | ||
"space_after_anon_function": false, // Should the space before an anonymous function's parens be added, "function()" vs "function ()" | ||
"space_before_conditional": true, // Should the space before conditional statement be added, "if(true)" vs "if (true)" | ||
"space_in_empty_paren": false, // Add padding spaces within empty paren, "f()" vs "f( )" | ||
"space_in_paren": false, // Add padding spaces within paren, ie. f( a, b ) | ||
"unescape_strings": false, // Should printable characters in strings encoded in \xNN notation be unescaped, "example" vs "\x65\x78\x61\x6d\x70\x6c\x65" | ||
"wrap_line_length": 130 // Lines should wrap at next opportunity after this number of characters (0 disables) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ | |
FROM ubuntu:latest | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y nginx git curl python-software-properties python software-properties-common | ||
RUN apt-get install -y openssh-server nginx git curl python-software-properties python software-properties-common | ||
RUN add-apt-repository ppa:chris-lea/node.js | ||
RUN apt-get update | ||
RUN apt-get install -y nodejs | ||
RUN npm update -g npm | ||
RUN git clone https://github.com/ottemo/dash.git -b develop /opt/dashboard | ||
WORKDIR /opt/dashboard | ||
RUN git clone https://ottemo-dev:[email protected]/ottemo/dashboard.git -b develop /opt/dashboard | ||
RUN npm update -g npm | ||
RUN npm install | ||
RUN npm install -g bower | ||
RUN bower install --allow-root | ||
|
@@ -24,5 +24,3 @@ ADD ./config/dashboard.conf /etc/nginx/conf.d/ | |
RUN echo "daemon off;" >> /etc/nginx/nginx.conf | ||
|
||
EXPOSE 80 | ||
|
||
CMD service nginx start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Copyright © 2015 <Ottemo, Inc> | ||
|
||
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: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.