An open API service indexing awesome lists of open source software.

https://github.com/simbo/nodejazz

My node-couchdb-nginx playground…
https://github.com/simbo/nodejazz

Last synced: 2 months ago
JSON representation

My node-couchdb-nginx playground…

Awesome Lists containing this project

README

          

nodejazz
========

> My node-couchdb-nginx playground…

**WORK IN PROGRESS**

## Development

### Setup

`git clone` and `vagrant up`.

### Process management

In the vitual machine…

- `pm2-dev log` ➜ realtime app process log
- `pm2 start nodejazz` ➜ start nodejazz
- `pm2 restart nodejazz` ➜ restart nodejazz
- `pm2 stop nodejazz` ➜ stop nodejazz

### Gulp tasks

In the vm, in `/vagrant`…

- `gulp dev` ➜ watch, watchify and app live log
- `gulp app:reload` ➜ reload app process
- `gulp app:log` ➜ realtime app process log (like `pm2-dev log`)
- `gulp build` ➜ build everything
- `gulp build:css` ➜ parse stylus to css, pipe through postcss
- `gulp build:js` ➜ browserify javascripts
- `gulp clean` ➜ delete all generated files
- `gulp clean:css` ➜ delete generated css
- `gulp clean:js` ➜ delete generated jacascripts
- `gulp watch` ➜ watch everything (except javascripts) and react on changes
- `gulp watchify` ➜ watch javascripts and react on changes
- `gulp watch watchify` ➜ watch everything and react on changes

### Browser

- **App** ➜ [10.0.0.5](http://10.0.0.5/) or [localhost:8080](http://localhost:8080/)
- **CouchDB** ➜ [10.0.0.5/couchdb](http://10.0.0.5/couchdb)
- **Futon** ➜ [10.0.0.5/couchdb/_utils](http://10.0.0.5/couchdb/_utils)

CouchDB Credentials: `dev` / `dev`

## License

[MIT © Simon Lepel 2015](http://simbo.mit-license.org/)