Lower logging volume
This commit is contained in:
parent
d2178c8ee6
commit
8c69700b7f
5 changed files with 10 additions and 11 deletions
1
Procfile
1
Procfile
|
@ -1 +0,0 @@
|
||||||
web: npm start
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Hostr
|
# Hostr
|
||||||
|
|
||||||
## About
|
## About
|
||||||
Hostr is a project I started almost ten years ago when I set out to learn web development. Since then it's seen over 100,000 signups and served up over 2 billion file downloads.
|
Hostr is a project I started over ten years ago when I set out to learn web development. Since then it's seen over 100,000 signups and served up over 2 billion file downloads.
|
||||||
|
|
||||||
It has been through many iterations, but in its current incarnation Hostr uses [Koa](http://koajs.com/) for the backend, [Angular](https://angular.io/) and [JSPM](http://jspm.io) for the frontend, and [Babel](https://babeljs.io/) for both.
|
It has been through many iterations, but in its current incarnation Hostr uses [Koa](http://koajs.com/) for the backend, [Angular](https://angular.io/) and [Webpack](http://jspm.io) for the frontend, and [Babel](https://babeljs.io/) for both.
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
Everything is taken care of by an `make build`.
|
Everything is taken care of by a `make build`.
|
||||||
|
|
||||||
### Enviroment Variable Configuration
|
### Enviroment Variable Configuration
|
||||||
|
|
||||||
|
@ -35,8 +35,6 @@ $ make init migrate
|
||||||
$ make test
|
$ make test
|
||||||
```
|
```
|
||||||
|
|
||||||
Running the tests will also set the indexes required for Mongo.
|
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
My primary motivation is to get to work on Hostr in public. Contributions are welcome and all Javascript is Apache licenced, however the brand is not. The brand includes the name, logo images, CSS and marketing HTML.
|
My primary motivation is to get to work on Hostr in public. Contributions are welcome and all Javascript is Apache licenced, however the brand is not. The brand includes the name, logo images, CSS and marketing HTML.
|
||||||
|
|
2
app.js
2
app.js
|
@ -53,7 +53,9 @@ app.use(async (ctx, next) => {
|
||||||
app.use(session(app));
|
app.use(session(app));
|
||||||
|
|
||||||
app.use(redis.middleware());
|
app.use(redis.middleware());
|
||||||
|
if (process.env.DEBUG === 'true') {
|
||||||
app.use(logger());
|
app.use(logger());
|
||||||
|
}
|
||||||
app.use(compress());
|
app.use(compress());
|
||||||
app.use(bodyparser());
|
app.use(bodyparser());
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
"co-views": "~2.1.0",
|
"co-views": "~2.1.0",
|
||||||
"copy-webpack-plugin": "^4.5.2",
|
"copy-webpack-plugin": "^4.5.2",
|
||||||
"debug": "~3.1.0",
|
"debug": "~3.1.0",
|
||||||
"dropzone": "~4.0.1",
|
"dropzone": "~5.5.1",
|
||||||
"ejs": "^2.6.1",
|
"ejs": "^2.6.1",
|
||||||
"form-data": "^2.3.2",
|
"form-data": "^2.3.2",
|
||||||
"http-errors": "^1.7.0",
|
"http-errors": "^1.7.0",
|
||||||
|
|
|
@ -1877,9 +1877,9 @@ double-ended-queue@^2.1.0-0:
|
||||||
version "2.1.0-0"
|
version "2.1.0-0"
|
||||||
resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c"
|
resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c"
|
||||||
|
|
||||||
dropzone@~4.0.1:
|
dropzone@~5.5.1:
|
||||||
version "4.0.1"
|
version "5.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/dropzone/-/dropzone-4.0.1.tgz#9e6e3430a85bd5ee8f430f058abd0c877b25fbec"
|
resolved "https://registry.yarnpkg.com/dropzone/-/dropzone-5.5.1.tgz#06e2f513e61d6aa363d4b556f18574f47cf7ba26"
|
||||||
|
|
||||||
duplexer3@^0.1.4:
|
duplexer3@^0.1.4:
|
||||||
version "0.1.4"
|
version "0.1.4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue