diff options
| author | Kana <[email protected]> | 2017-10-06 02:53:12 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-10-06 02:53:12 -0300 |
| commit | 48883d772811d136504769019349b442671b9ec9 (patch) | |
| tree | b201ff01cf1e30686ad3356cdef4f0c05cab88ba | |
| parent | ugh, little mistake (diff) | |
| download | host.fuwn.me-48883d772811d136504769019349b442671b9ec9.tar.xz host.fuwn.me-48883d772811d136504769019349b442671b9ec9.zip | |
Added minimum node version
| -rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -12,11 +12,12 @@ If you're upgrading from a version prior to v3.0.0 make sure to run **ONCE** `node database/migration.js` to create the missing columns on the database. ## Running -1. Clone -2. Rename `config.sample.js` to `config.js` +1. Ensure you have at least version 7.6.0 of node installed +2. Clone the repo +3. Rename `config.sample.js` to `config.js` 4. Modify port, domain and privacy options if desired -3. run `npm install` to install all dependencies -5. run `pm2 start lolisafe.js` or `node lolisafe.js` to start the service +5. run `npm install` to install all dependencies +6. run `pm2 start lolisafe.js` or `node lolisafe.js` to start the service ## Getting started This service supports running both as public and private. The only difference is that one needs a token to upload and the other one doesn't. If you want it to be public so anyone can upload files either from the website or API, just set the option `private: false` in the `config.js` file. In case you want to run it privately, you should set `private: true`. |