Няма описание

Pitu ca9e1c859d Add parallel chunks and raise timeout преди 5 години
docs 390eeb9b07 Automated pm2 process spawn преди 5 години
src ca9e1c859d Add parallel chunks and raise timeout преди 5 години
.editorconfig a857b8910b More stuff преди 5 години
.gitattributes a857b8910b More stuff преди 5 години
.gitignore 79bb01e720 Update .gitignore преди 5 години
README.md 390eeb9b07 Automated pm2 process spawn преди 5 години
TODO 9609279554 Get rid of the icons altogether in a future commit преди 5 години
knexfile.js ac36cdc143 Standarize database calls to support sqlite as well as mysql/postgres преди 5 години
nuxt.config.js ac36cdc143 Standarize database calls to support sqlite as well as mysql/postgres преди 5 години
package.json ac36cdc143 Standarize database calls to support sqlite as well as mysql/postgres преди 5 години
pm2.json 390eeb9b07 Automated pm2 process spawn преди 5 години
yarn.lock ac36cdc143 Standarize database calls to support sqlite as well as mysql/postgres преди 5 години

README.md

lolisafe GitHub license Chat / Support Support me Support me

Pre-requisites

This guide asumes a lot of things, including that you know your way around linux, nginx and internet in general.

  • Decently updated version of linux
  • node package installed and at least at version 10
  • build-essential package installed to build some dependencies
  • ffmpeg package installed if you want thumbnails
  • yarn package installed. If you'd like to use npm instead change package.json accordingly
  • A database, postgresql preferably. You can also fall back to sqlite3 by default.

Installing

  1. Clone the repository and cd into it
  2. Run yarn install
  3. Run yarn setup
  4. Run yarn migrate
  5. Run yarn seed

Lolisafe is now installed, configured and ready. Now you need to serve it to the public by using a domain name.

  1. Check the nginx file for a sample configuration that has every step to run lolisafe securely on production.

After you finish setting up nginx, you need to start lolisafe by using pm2. If you want to use something else, figure out how. (More info on why pm2 here)

  1. Run pm2 start pm2.json:
  2. Profit

Cloudflare

If you want to run your site through CloudFlare because of the obvious advantages it has, lolisafe has your back. Unless you manually modify the .env file, uploads through the website will be uploaded in chunks thus bypassing CloudFlare's 100mb upload limit per file.

Author

lolisafe © Pitu, Released under the MIT License.
Authored and maintained by Pitu.

lolisafe.moe · GitHub @Pitu