mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 15:21:33 +00:00
Added minimum node version
This commit is contained in:
parent
3c2ba4868a
commit
48883d7728
@ -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.
|
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
|
## Running
|
||||||
1. Clone
|
1. Ensure you have at least version 7.6.0 of node installed
|
||||||
2. Rename `config.sample.js` to `config.js`
|
2. Clone the repo
|
||||||
|
3. Rename `config.sample.js` to `config.js`
|
||||||
4. Modify port, domain and privacy options if desired
|
4. Modify port, domain and privacy options if desired
|
||||||
3. run `npm install` to install all dependencies
|
5. run `npm install` to install all dependencies
|
||||||
5. run `pm2 start lolisafe.js` or `node lolisafe.js` to start the service
|
6. run `pm2 start lolisafe.js` or `node lolisafe.js` to start the service
|
||||||
|
|
||||||
## Getting started
|
## 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`.
|
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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user