Go to file
Zephyrrus 13825ddae6 chore: update lock files 2020-12-24 10:21:19 +02:00
.vscode chore: change to vue recommended eslint rules + airbnb-base for js 2020-07-05 04:16:02 +03:00
docs Upgrade migration doc 2020-07-18 16:50:39 +09:00
src chore: update lock files 2020-12-24 10:21:19 +02: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 whoops 2020-07-18 16:41:08 +09:00
TODO chore: update buefy to 0.9 2020-11-12 22:58:34 +02:00
knexfile.js chore: linter the entire project using the new rules 2020-07-08 04:00:12 +03:00
nuxt.config.js feat: Add bulma divider 2020-07-19 22:25:11 +03:00
package-lock.json chore: update lock files 2020-12-24 10:21:19 +02:00
package.json chore: update lock files 2020-12-24 10:21:19 +02:00
pm2.json chore: linter the entire project using the new rules 2020-07-08 04:00:12 +03:00
yarn.lock chore: update lock files 2020-12-24 10:21:19 +02:00

README.md

lolisafe GitHub license Chat / Support Support me Support me

Attention

If you are upgrading from v3 to v4 (current release) and you want to keep your files and relations please read the migration guide.

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 version 12+
  • build-essential package installed to build dependencies
  • ffmpeg package installed if you want video thumbnails
  • yarn package installed. If you'd like to use npm instead change package.json accordingly
  • pm2 globally installed (npm i -g pm2) to keep the service alive at all times.
  • A database, postgresql preferably. You can also fall back to sqlite3 which ships by default.

Installing

  1. Clone the repository and cd into it
  2. Run yarn install
  3. Run yarn setup

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 like forever, ensure that the process spawned from npm run start never dies.

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

Author

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

lolisafe.moe · GitHub @Pitu