Go to file
Zephyrrus 15f296a780 chore: eslint stores
feat: merge album and images
2020-07-07 02:02:37 +03:00
.vscode chore: change to vue recommended eslint rules + airbnb-base for js 2020-07-05 04:16:02 +03:00
docs fix: nginx config 2020-05-11 01:07:44 +09:00
src chore: eslint stores 2020-07-07 02:02:37 +03:00
.editorconfig More stuff 2019-02-19 00:06:55 +09:00
.gitattributes More stuff 2019-02-19 00:06:55 +09:00
.gitignore chore: Ignore old db data 2020-05-10 00:39:43 +09:00
.prettierrc chore: add compound launcher and basic prettier 2020-07-02 02:49:30 +03:00
README.md Automated pm2 process spawn 2019-03-12 04:45:47 +00:00
TODO Updated TODO 2020-06-25 02:21:05 +09:00
knexfile.js Standarize database calls to support sqlite as well as mysql/postgres 2019-04-24 08:38:53 +00:00
nuxt.config.js chore: change nuxt.config to generate proper source-maps for vscode debugging 2020-07-02 02:48:48 +03:00
package.json chore: change to vue recommended eslint rules + airbnb-base for js 2020-07-05 04:16:02 +03:00
pm2.json Feature: 2020-05-09 19:21:20 +09:00
yarn.lock chore: change to vue recommended eslint rules + airbnb-base for js 2020-07-05 04:16:02 +03:00

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