Ltrainnotwork

Mobile web framework for serving content on the New York L Train
Alternatives To Ltrainnotwork
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Masonite1,99747286 months ago309June 26, 202240mitPython
The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ
Bottle Ssl55
22 days agomitPython
A simple web page using BottlePy and SSL
Moonmint30
4 years agootherLua
A Web Framework for Lua
Ltrainnotwork14
12 years agoJavaScript
Mobile web framework for serving content on the New York L Train
Alternatives To Ltrainnotwork
Select To Compare


Alternative Project Comparisons
Readme

L Train Notwork

About

This framework was used to serve curated content to mobile devices on the New York City subway.

More info can be found on our press release, at Wired, or in this video.

Read the technical documentation including hardware configuration and specs.

Take this model and deploy your very own notwork!

Installation Instructions

  1. Grab code
  2. Install node (supported version 0.4.12) and npm (link)
  3. Within terminal, navigate to the code directory
  4. Install required packages using npm install socket.io express yamlparser mysql-pool sprintf dateformat now underscore mysql jade
  5. Add config.yaml (see below)
  6. Launch using node app.js
  7. Open http://localhost:3000

config.yaml

Copy and paste this into config.yaml in your code directory.

# file: config.yaml

# mysql credentials
mysqlUser: user
mysqlPass: pass

# added to mysql entries to easily combine multiple hardware tables
hardwareId: mycomputer

# use a basic access authentication
authentication: false
authUser: user
authPass: password

# node.js webserver port
port: 3000

# node.js route used in app.js
mode: development

Launching with forever

Run using ./scripts/launch from the command line.

Troubleshooting

Q: Why do I get the following stack trace?

Error: Cannot find module 'node-proxy'
    at Function._resolveFilename (module.js:326:11)
    at Function._load (module.js:271:25)
    at require (module.js:355:19)
    at Object.<anonymous> (/Users/boxysean/Documents/workspace/notwork/node_modules/now/lib/proxy.js:10:13)
    at Module._compile (module.js:411:26)
    at Object..js (module.js:417:10)
    at Module.load (module.js:343:31)
    at Function._load (module.js:302:12)
    at require (module.js:355:19)
    at Object.<anonymous> (/Users/boxysean/Documents/workspace/notwork/node_modules/now/lib/group.js:3:13)

A: Run make.

Q: Why do I get the following error when installing packages via npm?

npm ERR! [email protected] install: `make`
npm ERR! `sh "-c" "make"` failed with 2
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-proxy
npm ERR! There is likely additional logging output above.
npm ERR! 
npm ERR! System Linux 3.0.0-13-generic
npm ERR! command "node" "/usr/bin/npm" "install" "now"
npm ERR! cwd /mnt/br/boxysean/workspace/notwork_github
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.94
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /mnt/br/boxysean/workspace/notwork_github/npm-debug.log
npm not ok

A: This is probably because you are missing node-waf. More...

Q: Node install says I'm missing openssl. What should I do?

A: Install openssl libraries by doing sudo apt-get install libssl-dev in Debian (Ubuntu) or through Ports in OS X.

Credits

Popular Web Application Framework Projects
Popular Openssl Projects
Popular Frameworks Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Openssl
Web Application Framework