This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Author: Ryan Cole | |
| # Website: https://ryanc.me | |
| # GitHub: https://github.com/MGinshe | |
| # Usage: | |
| # Place this file in /etc/nginx/sites-enabled/ | |
| # Make sure you edit the DOMAIN_HERE and SSL_CERTIFICATE, and DB_FILTER sections | |
| # | |
| # Note: This config file is designed to be used with the Odoo dbfilter_from_header module | |
| # https://apps.openerp.com/apps/modules/9.0/dbfilter_from_header/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:2.3-onbuild | |
| VOLUME /opt/postal/config | |
| ENV LOG_TO_STDOUT 1 | |
| ENV AM_CONFIG_ROOT /opt/postal/config | |
| RUN gem install procodile | |
| RUN apt-get update -qq && apt-get install -yqq nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Author: Jim Westergren & Jeedo Aquino | |
| File: index-with-redis.php | |
| Updated: 2012-10-25 | |
| This is a redis caching system for wordpress. | |
| see more here: www.jimwestergren.com/wordpress-with-redis-as-a-frontend-cache/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Build dependencies for OpenResty. | |
| sudo apt-get install build-essential libpcre3-dev libssl-dev libgeoip-dev | |
| # Install standard Nginx first so that you get the relevant service scripts installed too | |
| sudo apt-get install nginx | |
| # If you want to access Postgres via Nginx | |
| sudo apt-get install libpq-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Postgresql 9.2.1 Compilation instructions for Ubuntu 12.04 | |
| #This will install Postgresql 9.2.1 into /usr/local/postgresql-9.2.1 | |
| #This assumes that you have sudo provileges on the machine installing postgresql | |
| #It should work by copying and pasting into the shell, I haven't tested it, I just summarized | |
| #what I just did and it worked | |
| #Get requirements | |
| sudo apt-get install build-essential libreadline6-dev zlib1g-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #node | |
| sudo apt-get install curl | |
| curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | |
| sudo apt-get install nodejs | |
| #mysql | |
| sudo apt-get install mysql-server mysql-client |