Public Repository

Last pushed: 3 months ago
Short Description
Production deployment of twistedstream.com
Full Description

TwistedStream Web App

The source code for twistedstream.com.

This web app demonstrates the use of:

Usage

To run in local development mode:

# if not running iojs v1
nvm use iojs-v1

# if you haven't installed dependencies yet
npm install
bower install

# if you haven't created a .env file yet
echo JWT_SECRET="I am a fake mountain." >> .env
echo SANDBOX_TIMEOUT=1000 >> .env
echo GOOGLE_DOCS_RESUME_BASE_EXPORT_URL="http://resume.url/?id=foo" >> .env
echo STACK_OVERFLOW_CAREERS_URL="http://stack.overflow.careers.url" >> .env

# run the dev server
gulp dev

The app can then be accessed at: http://localhost:5000/

To execute the app in a local Docker container (running in boot2docker):

# if boot2docker is not running
boot2docker start

# if the shell hasn't been initialized
$(boot2docker shellinit)

# build the image, run the container (with configuration), and launch a browser
sh run-docker-dev.sh my-jwt-secret \
    1000 \
    http://any-url-that-returns-a-pdf.com \
    http://careers.stackoverflow.com/some-user

The app will automatically open up in your default browser.

Docker Pull Command
Owner
twistedstream

Comments (0)