mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-30 00:48:44 -05:00
Merge pull request #805 from SISheogorath/fix/noFile
Fix possible file limit errors
This commit is contained in:
commit
2a9fe664d1
3 changed files with 7 additions and 2 deletions
|
@ -60,7 +60,6 @@ Thanks for using! :smile:
|
||||||
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8`
|
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8`
|
||||||
- npm (and its dependencies, especially [uWebSockets](https://github.com/uWebSockets/uWebSockets#nodejs-developers), [node-gyp](https://github.com/nodejs/node-gyp#installation))
|
- npm (and its dependencies, especially [uWebSockets](https://github.com/uWebSockets/uWebSockets#nodejs-developers), [node-gyp](https://github.com/nodejs/node-gyp#installation))
|
||||||
- For **building** HackMD we recommend to use a machine with at least **2GB** RAM
|
- For **building** HackMD we recommend to use a machine with at least **2GB** RAM
|
||||||
- (optional) *For development you may need to increase the number of allowed open file descriptors on your machine*
|
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
|
@ -329,5 +328,5 @@ See more at [http://operational-transformation.github.io/](http://operational-tr
|
||||||
[standardjs-url]: https://github.com/feross/standard
|
[standardjs-url]: https://github.com/feross/standard
|
||||||
[codetriage-image]: https://www.codetriage.com/hackmdio/hackmd/badges/users.svg
|
[codetriage-image]: https://www.codetriage.com/hackmdio/hackmd/badges/users.svg
|
||||||
[codetriage-url]: https://www.codetriage.com/hackmdio/hackmd
|
[codetriage-url]: https://www.codetriage.com/hackmdio/hackmd
|
||||||
[poeditor-image]: https://img.shields.io/badge/POEditor-translate-green.svg
|
[poeditor-image]: https://img.shields.io/badge/POEditor-translate-blue.svg
|
||||||
[poeditor-url]: https://poeditor.com/join/project/1OpGjF2Jir
|
[poeditor-url]: https://poeditor.com/join/project/1OpGjF2Jir
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"formidable": "^1.0.17",
|
"formidable": "^1.0.17",
|
||||||
"gist-embed": "~2.6.0",
|
"gist-embed": "~2.6.0",
|
||||||
|
"graceful-fs": "^4.1.11",
|
||||||
"handlebars": "^4.0.6",
|
"handlebars": "^4.0.6",
|
||||||
"helmet": "^3.3.0",
|
"helmet": "^3.3.0",
|
||||||
"highlight.js": "~9.9.0",
|
"highlight.js": "~9.9.0",
|
||||||
|
|
|
@ -4,6 +4,11 @@ var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
||||||
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||||
var CopyWebpackPlugin = require('copy-webpack-plugin')
|
var CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||||
|
|
||||||
|
// Fix possible nofile-issues
|
||||||
|
var fs = require('fs')
|
||||||
|
var gracefulFs = require('graceful-fs')
|
||||||
|
gracefulFs.gracefulify(fs)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
|
|
Loading…
Reference in a new issue