Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.11 KB

README.md

File metadata and controls

66 lines (44 loc) · 1.11 KB

Tung lo siu (銅蘿燒)

image

What is it?

This is an image showcase/image hosting site.

What can it do?

  • Upload/Show pictures
  • NSFW Blur
  • Tag select
  • Simple permission manage

Start

If you want to modify the frontend, you can modify /frontend/. (Icon: /backend/static or /frontend/public)

Environment

  • MySQL (8.0+)
  • NodeJS (v16+)

Install

  1. Get
git clone https://github.com/ArsFy/tung-lo-siu
cd tung-lo-siu/backend
npm i
  1. Install

Follow the prompts to config MySQL and create an admin user.

If you want to create a second admin user, please refer to run.js (under dev)

node run.js
  1. Config

Edit config.json, edit site_name and http_port

{
    "site_name": "TungLoSiu",
    ...
    "http_port": 80
}
  1. Run

Open http://[your server ip]/

npm start  # Or node main.js