Skip to content

Commit

Permalink
deps: use agentkeepalive@4
Browse files Browse the repository at this point in the history
drop support node 6
  • Loading branch information
fengmk2 committed Oct 22, 2018
1 parent ad2d341 commit d889eba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -74,10 +74,10 @@ as well as [New features in 2.x](https://github.com/cnpm/cnpmjs.org/wiki/New-fea

### Dependencies

* [node](http://nodejs.org) >= 4.3.1
* [node](http://nodejs.org) >= 8.0.0
* Databases: only required one type
* [sqlite3](https://npm.taobao.org/package/sqlite3) >= 3.0.2, we use `sqlite3` by default
* [MySQL](http://dev.mysql.com/downloads/) >= 0.5.0, include `mysqld` and `mysql cli`. I test on `mysql@5.6.16`.
* [MySQL](http://dev.mysql.com/downloads/) >= 5.6.16, include `mysqld` and `mysql cli`. I test on `mysql@5.6.16`.
* MariaDB
* PostgreSQL

Expand Down Expand Up @@ -114,7 +114,7 @@ Cnpmjs.org shipped with a simple but pragmatic Docker Compose configuration.With
* (Optional) Speed up Docker images downloading by setting up [Docker images download accelerator](https://yq.aliyun.com/articles/29941)


#### Dockerized cnpmjs.org control command
#### Dockerized cnpmjs.org control command

Make sure your current working directory is the root of this GitHub repository.

Expand All @@ -123,7 +123,7 @@ Make sure your current working directory is the root of this GitHub repository.
```bash
$docker-compose up
```

This command will build a Docker image using the current code of repository. Then set up a dockerized MySQL instance with data initialized. After Docker container running, you can access your cnpmjs.org web portal at http://127.0.0.1:7002 and npm register at http://127.0.0.1:7001.

#### Run cnpmjs.org in the backend
Expand All @@ -145,7 +145,7 @@ The current configuration set 2 named Docker Volume for your persistent data. If
Be Careful, the following commands will remove them.

```bash
$docker-compose rm
$docker-compose rm
$docker volume rm cnpmjsorg_cnpm-files-volume
$docker volume rm cnpmjsorg_cnpm-db-volume
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -15,7 +15,7 @@
"cnpmjs.org": "bin/cli.js"
},
"dependencies": {
"agentkeepalive": "^3.3.0",
"agentkeepalive": "^4.0.0",
"await-event": "^2.1.0",
"bytes": "^2.5.0",
"cfork": "^1.6.1",
Expand Down Expand Up @@ -106,7 +106,7 @@
"registry"
],
"engines": {
"node": ">= 6.11.2"
"node": ">= 8.0.0"
},
"author": [
"fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)",
Expand Down

0 comments on commit d889eba

Please sign in to comment.