mirror of
https://github.com/SunRed/haste-server.git
synced 2025-09-05 21:10:16 +02:00
Switched to proper babel-minify lib
I Decided to remove static asset compression from actual code to make runtime faster and moved it to package.json script which only builds application once on installation.\nAfter this commit, after every update that changed static/application.js, you also need to run npm run-script build after git pull
This commit is contained in:
parent
45b4ce87a8
commit
509971c5ac
7 changed files with 1409 additions and 341 deletions
|
@ -1,9 +1,10 @@
|
|||
# Short instructions
|
||||
|
||||
1. Install [node](https://nodejs.org/en/) and npm packages.
|
||||
2. Rename `example.config.js` to `config.js`. (Defaults are enough)
|
||||
3. (Optional) Change document storage system ([guide](./storage.md))
|
||||
4. Run with `npm start` or `node .`
|
||||
1. Install [node](https://nodejs.org/en/)
|
||||
2. Build with `npm run-script build`
|
||||
3. Rename `example.config.js` to `config.js` (Defaults are enough)
|
||||
4. (Optional) Change document storage system ([guide](./storage.md))
|
||||
5. Run with `npm start` or `node .`
|
||||
|
||||
|
||||
|
||||
|
@ -44,10 +45,10 @@ npm -v
|
|||
|
||||
## Install dependencies
|
||||
|
||||
Hastebin makes use of several node packages, which can be installed with npm by executing this command:
|
||||
Hastebin makes use of several node packages, you can install them and configure with:
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run-script build
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue