This file contains hidden or 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
| FROM ruby:2.4-alpine3.7 | |
| # Install dependencies: | |
| # - build-base: To ensure certain gems can be compiled | |
| # - nodejs: Compile assets | |
| # - postgresql-dev postgresql-client: Communicate with postgres through the postgres gem | |
| # - libxslt-dev libxml2-dev: Nokogiri native dependencies | |
| # - imagemagick: for image processing | |
| RUN apk --update add build-base nodejs tzdata postgresql-dev postgresql-client libxslt-dev libxml2-dev imagemagick |
This file contains hidden or 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
| # == Paperclip without ActiveRecord | |
| # | |
| # Simple and lightweight object that can use Paperclip | |
| # | |
| # | |
| # Customized part can be extracted in another class which | |
| # would inherit from SimplePaperclip. | |
| # | |
| # class MyClass < SimplePaperclip | |
| # attr_accessor :image_file_name # :<atached_file_name>_file_name |
This file contains hidden or 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
| // Login component | |
| <template> | |
| <div id="login"> | |
| <span>Dead Seeds</span> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'login' |
This file contains hidden or 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
| modalComponent = (function(){ | |
| self = this | |
| self.display = false | |
| self.header = '' | |
| self.content = '' | |
| self.domElement; | |
| function _buildComponent() { | |
| return [ | |
| '<div class="alg-modal-overlay" data-modal-component>', |