Created
November 17, 2019 19:01
-
-
Save joshuabenuck/2936e9ff977013a43b78ba56b9653cda to your computer and use it in GitHub Desktop.
Quick script to create a self-contained fedwiki install. Data files are still stored in their default location (~/.wiki).
This file contains 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
#!/bin/bash | |
rm -rf $1 | |
mkdir $1 | |
cd $1 | |
curl -O https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz | |
tar Jxf *.tar.xz | |
rm *.tar.xz | |
mv node-* nodejs | |
git clone https://github.com/fedwiki/wiki | |
cd wiki | |
git checkout restrict-new-wiki | |
../nodejs/bin/npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment