kwappa / ena

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ena

Deploy

Build Status Coverage Status Code Climate Dependency Status

ena : engineer's name archive

How to install

run in local environment (MacOS X)

qiita-markdown

% brew install icu4c
% brew install cmake
% git clone https://github.com/github/gemoji.git
% bundle install
diff --git a/Rakefile b/Rakefile
index 2cea5c9..64965dc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,5 @@
 require 'rake/testtask'
+load 'lib/tasks/emoji.rake'

 task :default => :test
% bundle exec rake emoji
% mv public/images/emoji #{ENA_ROOT_DIR}/public/images

nokogiri

% brew tap homebrew/dupes
% brew install libiconv
% brew install libxml2
% brew link --force libxml2
% bundle config build.nokogiri --use-system-libraries

Pygments

if Internal Server Error is raised when highlight code by Pygments (maybe it happens on Mavericks), you have to install pygments manually.

% easy_install Pygments

How to deploy to Heroku

Deploy

this button works correctly (maybe).

if you want to deploy manually, specify build pack url to your heroku application.

% heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-multi.git

custom buildpacks to install libicu-dev and cmake are specified in .buildpacks.

About


Languages

Language:Ruby 76.3%Language:HTML 18.9%Language:CSS 4.3%Language:JavaScript 0.4%Language:CoffeeScript 0.2%