Skip to content

Commit afd2b4b

Browse files
committed
Removed alternate installation methods (use git, tarball, or npm)
1 parent df49769 commit afd2b4b

File tree

3 files changed

+11
-52
lines changed

3 files changed

+11
-52
lines changed

Makefile

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11

2-
PREFIX ?= /usr/local
3-
LIB_PREFIX = ~/.node_libraries
4-
52
DOCS = docs/index.md \
63
docs/screencasts.md \
74
docs/executable.md \
@@ -13,29 +10,6 @@ DOCS = docs/index.md \
1310
MANPAGES =$(DOCS:.md=.1)
1411
HTMLDOCS =$(DOCS:.md=.html)
1512

16-
install: install-docs
17-
@mkdir -p $(PREFIX)/bin
18-
@mkdir -p $(LIB_PREFIX)
19-
cp -f bin/express $(PREFIX)/bin/express
20-
cp -fr lib/express $(LIB_PREFIX)/express
21-
22-
uninstall: uninstall-docs
23-
rm -f $(PREFIX)/bin/express
24-
rm -fr $(LIB_PREFIX)/express
25-
26-
install-support:
27-
cd support/connect && $(MAKE) install
28-
29-
uninstall-support:
30-
cd support/connect && $(MAKE) uninstall
31-
32-
install-docs:
33-
@mkdir -p $(PREFIX)/share/man/man1
34-
cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.1
35-
36-
uninstall-docs:
37-
rm -f $(PREFIX)/share/man/man1/express.1
38-
3913
test:
4014
@NODE_ENV=test ./support/expresso/bin/expresso \
4115
-I lib \
@@ -75,4 +49,4 @@ docs/api.html: lib/express/*.js
7549
docclean:
7650
rm -f docs/*.{1,html}
7751

78-
.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean
52+
.PHONY: test test-cov docs docclean

Readme.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,17 @@
55
built on [node](http://nodejs.org) and [Connect](http://github.com/senchalabs/connect).
66

77
var app = express.createServer();
8-
8+
99
app.get('/', function(req, res){
1010
res.send('Hello World');
1111
});
12-
13-
app.listen(3000);
12+
13+
app.listen(3000);
1414

1515
## Installation
1616

17-
npm:
18-
1917
$ npm install express
2018

21-
curl:
22-
23-
$ curl -# http://expressjs.com/install.sh | sh
24-
2519
## Features
2620

2721
* Robust routing
@@ -79,7 +73,13 @@ and connect --version:
7973

8074
0.5.7
8175

82-
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_.
76+
master (2.0.0-pre) is compatible with node --version:
77+
78+
v0.3.7
79+
80+
and connect --version:
81+
82+
0.5.7
8383

8484
## License
8585

install.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)