https://github.com/positlabs/express-o
express boilerplate with some extra stuff like livereload, pm2 config, client-side es6, and error notifications.
https://github.com/positlabs/express-o
boilerplate express livereload nodejs pm2 pug webserver
Last synced: about 2 months ago
JSON representation
express boilerplate with some extra stuff like livereload, pm2 config, client-side es6, and error notifications.
- Host: GitHub
- URL: https://github.com/positlabs/express-o
- Owner: positlabs
- License: mit
- Created: 2016-09-21T17:03:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-29T01:26:38.000Z (over 7 years ago)
- Last Synced: 2024-10-19T07:14:55.322Z (7 months ago)
- Topics: boilerplate, express, livereload, nodejs, pm2, pug, webserver
- Language: JavaScript
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-o
Boilerplate stuff for express projects. Includes...
- livereload for styles
- es6 client-side javascript
- local pm2 server for keeping logs and automatically restarting when files change## Installation
[Download ZIP](https://github.com/positlabs/express-o/archive/master.zip)
Or run this command to install into the current directory.
```bash
curl -LO https://github.com/positlabs/express-o/archive/master.zip && unzip master.zip && rm master.zip && cp -R express-o-master/ ./ && rm -R ./express-o-master
```## Development
### CLI Tools
- Install [NodeJS](https://nodejs.org/en/) LTS version, and update package.json's engines field if necessary
- Install [PM2](https://github.com/Unitech/pm2). This allows us to edit server files and automatically restart the server to pick up new changes. Also keeps logs organized, and can run in the background.
### Setup
`npm install`: install node_modules
### Local server
`npm run start-local`: start a dev server on localhost:3000, and show logs
Edit local server config in ./dev/env/local.json