Giter Club home page Giter Club logo

cartilage's Introduction

Cartilage โ€“ Generic Sinatra / Monk Web App

This is a generic Monk app

Credits

  • The frontend app is based on Monk / Cartilage, a skeleton for building Sinatra apps.

Setup

Ruby Enterprise Edition

    sudo apt-get install libssl-dev libreadline5-dev;
    latest_ree=ruby-enterprise-1.8.7-2009.10.tar.gz;
    wget "http://rubyforge.org/frs/download.php/66162/${latest_ree}.tar.gz" ;
    tar xvzf ${latest_ree}.tar.gz;
    cd ${latest_ree_gz};
    sudo ./installer --auto /usr/local/ree;

Nginx

    latest_nginx=nginx-0.7.64;
    wget "http://sysoev.ru/nginx/${latest_nginx}.tar.gz" ;
    tar xvzf ${latest_nginx}.tar.gz ;
    sudo /usr/local/ree/bin/passenger-install-nginx-module --prefix=/usr/local/nginx --nginx-source-dir=/usr/local/src/$latest_nginx --extra-configure-flags=' --with-http_ssl_module --with-http_gzip_static_module --add-module=/usr/local/src/ngx-fancyindex-0.2 --add-module=/usr/local/src/nginx_upload_module-2.0.10 --add-module=/usr/local/src/nginx_uploadprogress_module --with-pcre --with-ld-opt=-lssl --with-sha1-asm --with-md5=/usr/include --with-md5-asm --http-proxy-temp-path="/tmp/nginx-proxy_temp" --http-fastcgi-temp-path="/tmp/nginx-fastcgi_temp" --http-client-body-temp-path="/tmp/nginx-client_body_temp" --pid-path="/var/run/nginx/nginx.pid" --conf-path="/slice/etc/nginx/nginx.conf" --lock-path="/var/run/nginx/nginx.lock" --http-log-path="/var/log/nginx/access.log" --error-log-path="/var/log/nginx/error.log" '

Add the deploy user

    sudo adduser deploy
    sudo usermod -a  -G admin,sudo deploy

Deploy

    cap deploy:setup
    scp -p config/settings.yml remotehost.com:/var/www/cartilage/shared/system/settings.yml
    cap deploy:cold

cartilage's People

Contributors

tobyjoe avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.