One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # Compresses all .js and .css files under the assets path. | |
| namespace :deploy do | |
| # It is important that we execute this after :normalize_assets because | |
| # ngx_http_gzip_static_module recommends that compressed and uncompressed | |
| # variants have the same mtime. Note that gzip(1) sets the mtime of the | |
| # compressed file after the original one automatically. | |
| after :normalize_assets, :gzip_assets do | |
| on release_roles(fetch(:assets_roles)) do | |
| assets_path = release_path.join('public', fetch(:assets_prefix)) | |
| within assets_path do |
| require "net/http" | |
| def start_server | |
| # Remove the X to enable the parameters for tuning. | |
| # These are the default values as of Ruby 2.2.0. | |
| @child = spawn(<<-EOC.split.join(" ")) | |
| XRUBY_GC_HEAP_FREE_SLOTS=4096 | |
| XRUBY_GC_HEAP_INIT_SLOTS=10000 | |
| XRUBY_GC_HEAP_GROWTH_FACTOR=1.8 | |
| XRUBY_GC_HEAP_GROWTH_MAX_SLOTS=0 |
| ruby '2.2.0' | |
| source 'https://rubygems.org' | |
| ... | |
| gem 'font-awesome-rails' |
| // Sublime Text - Build System for Javascript | |
| { | |
| "cmd": ["node", "$file"], | |
| "selector": "source.js" | |
| } |
| # Ruby is our language as asciidoctor is a ruby gem. | |
| lang: ruby | |
| before_install: | |
| - sudo apt-get install pandoc | |
| - gem install asciidoctor | |
| script: | |
| - make | |
| after_success: | |
| - .travis/push.sh | |
| env: |
Sublime Text includes a command line tool, subl, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
Applications folderSetup