Created
July 4, 2020 15:03
-
-
Save timmmmyboy/6882390302aa00943ba76cfaf689ddb1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: install | |
id: fedwiki | |
name: Smallest Federated Wiki | |
homepage: http://fed.wiki.org/view/federated-wiki | |
logo: http://fed.wiki.org/favicon.png | |
description: | |
text: A Federated Wiki is a new type of distributed wiki. It's hosted, edited, administrated and operated in a part-decentralized way by it's users. | |
categories: | |
- apps/collaboration | |
globals: | |
password: ${fn.password(10)} | |
nodes: | |
- cloudlets: 8 | |
nodeType: nodejs | |
env: | |
NODE_ENV: production | |
wiki_cookieSecret: ${fn.password(15)} | |
wiki_security_type: friends | |
wiki_session_duration: 30 | |
onInstall: | |
- npmInstall | |
- deployArchive | |
- configureApp | |
- restartNodes: | |
nodeGroup: [cp] | |
actions: | |
deployArchive: | |
deploy: | |
archive: https://cloud-jps-archives.s3.amazonaws.com/wiki-0.21.0.zip | |
name: wiki-0.21.0 | |
context: ROOT | |
npmInstall: | |
- cmd [cp]: |- | |
npm install -g wiki | |
configureApp: | |
- cmd[cp]: |- | |
cd $HOME/ROOT | |
npm i \ | |
wiki-plugin-graph \ | |
wiki-plugin-cytodemo \ | |
wiki-plugin-rostermatic \ | |
wiki-plugin-tab \ | |
wiki-plugin-fivestar \ | |
wiki-plugin-json \ | |
wiki-plugin-rss \ | |
wiki-plugin-tally \ | |
wiki-plugin-shell \ | |
wiki-plugin-slide \ | |
wiki-plugin-frame \ | |
wiki-plugin-zones \ | |
wiki-plugin-register \ | |
wiki-plugin-print \ | |
wiki-plugin-signature \ | |
wiki-plugin-soundcloud \ | |
wiki-plugin-metamodel | |
touch $HOME/.wiki/status/owner.json | |
printf '{\n "name": "admin",\n "friend": {\n "secret": "${globals.password}"\n }\n}' > $HOME/.wiki/status/owner.json | |
ssl: true | |
skipNodeEmails: true | |
success: | | |
**Access URL**: [https://${env.domain}/](https://${env.domain}/) | |
**Username**: admin | |
**Password**: ${globals.password} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment