Skip to content

Instantly share code, notes, and snippets.

@wootwoot1234
wootwoot1234 / index.js
Last active May 5, 2021 — forked from blex18/index.js
SO_67375281
View index.js
const mongoose = require('mongoose');
const moment = require('moment');
const Schema = mongoose.Schema;
const user = process.env.SO_USER;
const pass = process.env.SO_PASS;
const uri = process.env.SO_URI;
const throng = require('throng')
@wootwoot1234
wootwoot1234 / app.js
Created Aug 11, 2017
passport-local-mongoose upgrade strategy toubleshoot
View app.js
// dependencies
var path = require('path');
var express = require('express');
var http = require('http');
var mongoose = require('mongoose');
var passport = require('passport');
var LocalStrategy = require('passport-local').Strategy;
var bodyParser = require('body-parser');
var MongoStore = require('connect-mongo')(express);
var timeout = express.timeout;
View Sendy on OpenShift.md

##Sendy on OpenShift

You can deploy Sendy on a free OpenShift using the following instructions.

##Steps

Thise are instructions for setting up the sendy server, you will still need to set everything else up as described in get started [https://sendy.co/get-started].

  1. Signup for a free Redhat OpenShift [https://www.openshift.com/] account
  2. Add a application and select a PHP cartridge, I used non scaling PHP 5.4.