https://github.com/rodrigogs/node-scalable-example
Node.js Scalable Example
https://github.com/rodrigogs/node-scalable-example
Last synced: about 1 month ago
JSON representation
Node.js Scalable Example
- Host: GitHub
- URL: https://github.com/rodrigogs/node-scalable-example
- Owner: rodrigogs
- Created: 2018-02-07T21:03:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T21:37:56.000Z (over 8 years ago)
- Last Synced: 2025-12-27T01:40:07.140Z (6 months ago)
- Language: JavaScript
- Size: 60.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# node-scalable-example
Setup
-----
```bash
$ git clone git@github.com:rodrigogs/node-scalable-example.git
$ cd node-scalable-example
$ yarn install
```
Development
-----------
* nodemon
```bash
$ yarn start
```
* debug
```bash
$ node --inspect=${DEBUG_PORT} ./bin/www
```
Production
----------
* docker
```bash
$ docker-compose up .
```
* pm2
```bash
$ npm install pm2 -g
$ pm2 start ./bin/www
```