Skip to content

Create your own Personal Knowledge Container 🧠

License

Notifications You must be signed in to change notification settings

BennSim/micro-PKC

 
 

Repository files navigation

micro-PKC (Personal Knowledge Container)

Author: inblockio / 23. August 2021

Installation for Linux (Tested in Ubuntu 20.04) of your Personal Knowledge Container
This should work for other environments like Windows and Mac if the requirements are met.

Requirements

Recommended hardware requirements:

  • x86_64 architecture with
  • 1 CPU 2.2 GHZ
  • 1 GB RAM
  • 8 GB SSD Harddrive (do more to store media files)
  1. Install git, for Ubuntu: sudo apt-get install git
  2. Install docker.
  3. Clone this repo: git clone https://github.com/inblockio/micro-PKC

Installation

  1. cd micro-PKC
  2. Run ./pkc setup --wallet-address <your wallet address>

If you want to install the PKC so that it is publicly accessible from the web:

  1. Register your subdomains, e.g. pkc.yourdomain.com and eauth.yourdomain.com to the public IP address of your server
  2. Run ./pkc setup --web-public --wallet-address <your wallet address> --server <mediawiki.domain> --eauth-server <eauth.domain> --le-email <[email protected]>

Other flags:

  1. ./pkc setup --private is setting the wiki into private mode by default. Except the main page all pages will not be visible to not registered users.
  2. ./pkc setup --empty-wiki will not pre-populate the wiki from https://github.com/inblockio/PKC-Content which includes default pages for how to use the PKC and other helpful resources.
  3. ./pkc nuke is a command which deletes the mountpoint (the persistent data) and deletes the current instances of the docker containers.

Test if deployment was successful:
Go to localhost:9352 and see if you can open your 'Personal Knowledge Container'
If the special pages work, congratulations! You successfully deployed PKC!

POST Installation (installation of remote verification tools)

Keep in mind that this software is in alpha-release stage. Please report bugs and issues back to us.

Repository Dependencies Github

Those repositories are automatically installed by the pkc CLI during the setup.

Repository Dependencies Github: Verification

Those repositories need to be manually set up and installed. For more details visit each repository.

Image Dependencies DockerHub

  • Authentication server for ethereum wallets via OAUTH2 pelith/node-eauth-server
  • Custom build mediawiki image based on the standard MediaWiki docker image fantasticofox/docker-aqua-mediawiki
  • A mariadb database container as a database endpoint for the above services xlp0/mariadb

About

Create your own Personal Knowledge Container 🧠

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 84.1%
  • PHP 15.9%