-
Install rvm: https://rvm.io/
-
Install latest ruby version 2.3.x
-
Install Postgress
-
Update bundler: bundle install
-
Create db: rake db:create
-
Init models db: rake setup:init
-
Load default content db: rake setup:load
-
Run server: rails s
-
Open in browser: http://127.0.0.1:3000
madge -i core.png -f amd -x ‘lib/packages/tinymce|lib/jquery*|lib/require|lib/lz-string|lib/modernizr|lib/packages|lib/modules/base/|lib/extends/’ app/assets/javascripts/scripts/core
Nokogiri install:
-
brew tap homebrew/dupes
-
brew install libxml2 libxslt
-
brew install libiconv
env ARCHFLAGS=“-arch x86_64” gem install nokogiri – –use-system-libraries – –with-xml2-include=/usr/local/Cellar/libxml2/2.9.4/include/libxml2 –with-xml2-lib=/usr/local/Cellar/libxml2/2.9.4/lib –with-xslt-lib=/usr/local/lib –with-xslt-include=/usr/local/include –with-iconv-dir=/usr/local/Cellar/libiconv/1.14 Building native extensions with: ‘–use-system-libraries – –with-xml2-include=/usr/local/Cellar/libxml2/2.9.4/include/libxml2 –with-xml2-lib=/usr/local/Cellar/libxml2/2.9.4/lib –with-xslt-lib=/usr/local/lib –with-xslt-include=/usr/local/include –with-iconv-dir=/usr/local/Cellar/libiconv/1.14’
env ARCHFLAGS=“-arch x86_64” gem install nokogumbo – –use-system-libraries – –with-xml2-include=/usr/local/Cellar/libxml2/2.9.4/include/libxml2 –with-xml2-lib=/usr/local/Cellar/libxml2/2.9.4/lib –with-xslt-lib=/usr/local/lib –with-xslt-include=/usr/local/include –with-iconv-dir=/usr/local/Cellar/libiconv/1.14 Building native extensions with: ‘–use-system-libraries – –with-xml2-include=/usr/local/Cellar/libxml2/2.9.4/include/libxml2 –with-xml2-lib=/usr/local/Cellar/libxml2/2.9.4/lib –with-xslt-lib=/usr/local/lib –with-xslt-include=/usr/local/include –with-iconv-dir=/usr/local/Cellar/libiconv/1.14’
Demo: anthill.herokuapp.com/
Live Reload Chrome plugin: chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei