Skip to content

Instantly share code, notes, and snippets.

Curran curranabell

Block or report user

Report or block curranabell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@curranabell
curranabell / nginxproxy.md
Created Jul 9, 2017 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?
View nginxproxy.md

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@curranabell
curranabell / meteor-publish-example
Last active Jun 13, 2017
Meteor Subscribe Example
View meteor-publish-example
// Only executed on the server
import _ from 'lodash';
import { Meteor } from 'meteor/meteor';
import { Employees } from '../imports/collections/employees';
import { image, helpers } from 'faker';
Meteor.startup(() => {
//Great place to generate data
//Check to see if data exists in the collection
//See if the collection has any records
@curranabell
curranabell / run-marketplace
Created May 25, 2017
Running a Marketplace
View run-marketplace
Marketplace
View our marketplace feature roadmap and progress on our waffle
How to test drive the marketplace feature branch
0. Prerequisites
Get your system ready for Reaction
Install the reaction-cli tool
@curranabell
curranabell / deploy-reaction
Last active Feb 25, 2018
Deploy ReactionCommerce with Docker, Digital Ocean/AWS, and Lets Encrypt SSL
View deploy-reaction
1. Create mongodb with mLab and then link to reaction with url:
mongodb://username:password@host:port/database-name
docker-machine create \
--driver digitalocean \
--digitalocean-access-token access-token-here \
--digitalocean-size 2gb \
--digitalocean-region sfo1 \
reaction
You can’t perform that action at this time.