0.0.1-76 • Published 5 years ago

@libresat/wiki v0.0.1-76

Weekly downloads
-
License
AGPL-3.0
Repository
gitlab
Last release
5 years ago

LibreSat Wiki

Home Page Banner

The LibreSat distribution of Gitit.

Demo Site Part of LibreSat

Usage

# Install dependencies
npm install
# Build assets
npm run add-semantic
npm run build-service-worker
# Build and serve on http://localhost:5001
cd src/assets && gitit -f gitit.conf

Deployment

First, set the SSH key for the git bot:

ssh-keygen -t rsa -N "" -f "src/assets/ssh/id_rsa_container"
# Reads your public SSH key and overwrites the contents of assets/id_rsa.pub with it, so that the bot can clone the wikidata repo
echo $(<~/.ssh/id_rsa.pub) > src/assets/ssh/id_rsa_repo_access.pub

Then, create the git bot account and remote git repository:

  1. Create account on GitLab or other host
  2. Create git repo on host and give the bot account access to it (on GitLab, the "Maintainer" role permission is the right one)
  3. Add a file called "LICENSE.md" with a free (as in freedom) license in it (see https://choosealicense.com/non-software/) to the repo. The repo must not be empty.
  4. Open up the SSH keys settings page of the bot account (on GitLab, that's https://gitlab.com/profile/keys). We'll have to paste in the public SSH key of the bot later on

Furthermore, link to the remote git repository:

echo "git@gitlab.com:pojntfx/git-wikidata-test.git" \
> src/assets/templates/sshgitlink.st
echo "https://gitlab.com/pojntfx/git-wikidata-test" \
> src/assets/templates/httpsgitlink.st
echo "https://gitlab.com/pojntfx/git-wikidata-test/-/archive/master/git-wikidata-test-master.zip" \
> src/assets/templates/ziplink.st

Lastly, edit src/chart/values.yaml according to your needs to finish the configuration. If you want even more configuration options, consider editing src/assets/gitit.conf.

To deploy the wiki, run the following:

# Build assets
npm run add-semantic
npm run build-service-worker
# Build image
docker build src/ -t pojntfx/libresat-wiki
# Deploy to Kubernetes
helm install --values src/chart/values.yaml --namespace wiki src/chart

Screenshots

Home Page

Registration

Editor

Generated Commits in GitLab

History

Revision

Atom Feed

Export Menu

Exported PDF

Exported Slides

Download Menu

Home Page Responsive

0.0.1-76

5 years ago

0.0.1-75

5 years ago

0.0.1-74

5 years ago

0.0.1-73

5 years ago

0.0.1-72

5 years ago

0.0.1-71

5 years ago

0.0.1-70

5 years ago

0.0.1-69

5 years ago

0.0.1-68

5 years ago

0.0.1-67

5 years ago

0.0.1-65

5 years ago

0.0.1-64

6 years ago

0.0.1-63

6 years ago

0.0.1-62

6 years ago

0.0.1-61

6 years ago

0.0.1-60

6 years ago

0.0.1-59

6 years ago

0.0.1-58

6 years ago

0.0.1-57

6 years ago

0.0.1-56

6 years ago

0.0.1-55

6 years ago

0.0.1-54

6 years ago

0.0.1-53

6 years ago

0.0.1-52

6 years ago

0.0.1-51

6 years ago

0.0.1-50

6 years ago

0.0.1-49

6 years ago

0.0.1-48

6 years ago

0.0.1-47

6 years ago

0.0.1-46

6 years ago

0.0.1-45

6 years ago

0.0.1-44

6 years ago

0.0.1-43

6 years ago

0.0.1-42

6 years ago

0.0.1-41

6 years ago

0.0.1-40

6 years ago

0.0.1-39

6 years ago

0.0.1-38

6 years ago

0.0.1-37

6 years ago

0.0.1-36

6 years ago

0.0.1-35

6 years ago

0.0.1-34

6 years ago

0.0.1-33

6 years ago

0.0.1-32

6 years ago

0.0.1-31

6 years ago

0.0.1-30

6 years ago

0.0.1-29

6 years ago

0.0.1-28

6 years ago

0.0.1-27

6 years ago

0.0.1-26

6 years ago

0.0.1-25

6 years ago

0.0.1-24

6 years ago

0.0.1-23

6 years ago

0.0.1-22

6 years ago

0.0.1-21

6 years ago

0.0.1-20

6 years ago

0.0.1-19

6 years ago

0.0.1-18

6 years ago

0.0.1-17

6 years ago

0.0.1-16

6 years ago

0.0.1-15

6 years ago

0.0.1-14

6 years ago

0.0.1-13

6 years ago

0.0.1-12

6 years ago

0.0.1-11

6 years ago

0.0.1-10

6 years ago

0.0.1-9

6 years ago

0.0.1-8

6 years ago

0.0.1-7

6 years ago

0.0.1-y.0

6 years ago

0.0.1-6

6 years ago

0.0.1-5

6 years ago

0.0.1-4

6 years ago

0.0.1-3

6 years ago

0.0.1-2

6 years ago

0.0.1-1

6 years ago