Skip to content

vitaut7/bonsai

 
 

Repository files navigation

Bonsai

A family wiki engine (in Russian).

Features

  • Pages with Markdown text
  • Media files: photos, video, PDF documents
  • Person tags on photos
  • Relations support: validation, inferrence
  • Fact storage
  • Access control

Screenshots

Front-end:

Admin panel:

Installation

  1. Install PostgreSQL server (9.6+)

  2. Install ElasticSearch 5.6.x (6.0 is not supported yet)

  3. Install Russian Morphology for ElasticSearch.

    If you're getting a "Syntax of the command is incorrect" error during this step, make sure you have a JAVA_HOME environment variable defined.

  4. Download ffmpeg shared binaries for your system and extract the archive's contents into External/ffmpeg folder in the solution root (must contain both ffmpeg and ffprobe executables).

  5. Create a Facebook Authorization App

  6. Create a Google Authorization App or comment out the UseGoogle block in Startup.cs

  7. Create a file called appsettings.Development.json and save the auth secrets/connection strings/etc in it:

    {
      "ConnectionStrings": {
        "Database": "Server=127.0.0.1;Port=5432;Database=bonsai;User Id=<login>;Password=<password>;Persist Security Info=true"
      },
      "Auth": {
        "Facebook": {
          "AppId": "...",
          "AppSecret": "..." 
        },
        "Google": {
          "ClientId": "...",
          "ClientSecret": "..." 
        } 
      } 
    }
    
  8. Create the database:

    dotnet ef database update
    
  9. Run

About

Personal family wiki engine and photoalbum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 62.9%
  • HTML 16.3%
  • JavaScript 16.1%
  • CSS 4.7%