Run multiple apps on localhost without port conflicts using hostname-based routing.
curl -sSL https://gist.github.com/pinetops/5c0e5df45b45435422362c59eaee2027/raw/install.sh | bash| Remember that in addition to the prior instructions, when writing queries and code examples, please adhere to the following guidelines: | |
| General: | |
| - Database access is done using Ash 3.0/AshPostgres resources | |
| - Don't use Ash resources for in memory data structures unless specified | |
| - Only implement coding standards for new/modified code unless explicitly specified | |
| - Minimal comments (only notable/counter-intuitive), no module level or function level docs | |
| - Always Remove any unused aliases |
| # Based on ubuntu version from http://www.agileweboperations.com/chef-rvm-ruby-enterprise-edition-as-default-ruby | |
| # Tested on Centos 5.6 | |
| bash -c ' | |
| if [ ! -f /usr/local/bin/chef-client ]; then | |
| # yum install -y git curl gcc gcc-c++ zlib-devel openssl-devel readline-devel flex bison libxml2-devel libxslt-devel zlib-devel | |
| yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel git | |
| bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) | |
| ( | |
| cat <<'EOP' |