Skip to content
Demonstration of server-side Backbone.js apps using Doppelganger
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
apps/faq
README.md
doppelganger-apps.js
doppelganger-server.js
package.json
server.js

README.md

Doppelganger examples

Demonstration of server-side Backbone.js apps using Doppelganger

Installation

# Clone the github repository
git clone git@github.com:timkendrick/doppelganger-examples.git

# Change the current directory to the repository folder
cd doppelganger-examples

# Install the package dependencies
npm install

# Start the server
npm start

Once the server is up and running, you can access the examples at http://localhost:8000/

View source to see the content that is being inserted by the server-side app instance.

Configuration options

Listen on a different port

# Update the server configuration
npm config set doppelganger-examples:port 1337

# Start the server
npm start

Run in debug mode (halt on all errors)

# Update the server configuration
npm config set doppelganger-examples:debug true

# Start the server
npm start
Something went wrong with that request. Please try again.