Removed alternate installation methods (use git, tarball, or npm)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent df49769 · Browse files · 3 files·+11 added−52 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+11 added−52 removed
- other:+11 added−52 removed
Provenance
- Commit
afd2b4b- Tree
18f5789- Author
Tj Holowaychuk <tj@vision-media.ca>- Committer
Tj Holowaychuk <tj@vision-media.ca>- Parent
df49769
3 files changed+11 added−52 removed
deleted:install.sh-15 removed
123456789101112131415
install() { mkdir -p /tmp/$2 \ && cd /tmp/$2 \ && echo "... installing $2" \ && curl -# -L "http://github.com/$1/$2/tarball/master" \ | tar xz --strip 1 \ && mkdir -p ~/.node_libraries \ && cp -fr lib/$2 ~/.node_libraries/$2}
install visionmedia express \ && install senchalabs connect \ && cp -f /tmp/express/bin/express /usr/local/bin/express \ && echo "... installation complete"No newline at end of filemodified:Makefile+1 added-27 removed
1 2-PREFIX ?= /usr/local3-LIB_PREFIX = ~/.node_libraries4-2 DOCS = docs/index.md \3 docs/screencasts.md \4 docs/executable.md \5 docs/contrib.md \3 unmodified lines9 10 MANPAGES =$(DOCS:.md=.1)11 HTMLDOCS =$(DOCS:.md=.html)12 16-install: install-docs17- @mkdir -p $(PREFIX)/bin18- @mkdir -p $(LIB_PREFIX)19- cp -f bin/express $(PREFIX)/bin/express20- cp -fr lib/express $(LIB_PREFIX)/express21-22-uninstall: uninstall-docs23- rm -f $(PREFIX)/bin/express24- rm -fr $(LIB_PREFIX)/express25-26-install-support:27- cd support/connect && $(MAKE) install28-29-uninstall-support:30- cd support/connect && $(MAKE) uninstall31-32-install-docs:33- @mkdir -p $(PREFIX)/share/man/man134- cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.135-36-uninstall-docs:37- rm -f $(PREFIX)/share/man/man1/express.138-13 test:14 @NODE_ENV=test ./support/expresso/bin/expresso \15 -I lib \16 -I support \31 unmodified lines48 49 docclean:50 rm -f docs/*.{1,html}51 78-.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean52+.PHONY: test test-cov docs doccleanmodified:Readme.md+10 added-10 removed
3 unmodified lines456788910111213141314151617181718212223241920212249 unmodified lines727374758276777879808182838485868720 unmodified lines3 unmodified lines Insanely fast (and small) server-side JavaScript web development framework built on [node](http://nodejs.org) and [Connect](http://github.com/senchalabs/connect). var app = express.createServer(); app.get('/', function(req, res){ res.send('Hello World'); }); app.listen(3000);
app.listen(3000);
## Installation
npm:
$ npm install express
curl:
$ curl -# http://expressjs.com/install.sh | sh
## Features
* Robust routing * Redirection helpers49 unmodified linesand connect --version:
0.5.7
Express `1.x` is maintained in the `1.x` branch, and `master` is `2.0.0-pre` which is targeted to work with node `0.4.x`, to view `2.x` documentation open _docs/index.html_.master (2.0.0-pre) is compatible with node --version:
v0.3.7
and connect --version:
0.5.7
## License
(The MIT License)
20 unmodified lines