Difference between revisions of "Webmaster"
From Sensus Plenior
(Created page with "=Architecture= There are three servers involved: Hosted server at my house @xmission.com my router sensuspleni...") |
(→Installation) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
There are three servers involved: | There are three servers involved: | ||
| Line 12: | Line 10: | ||
dev will publish to xmission | dev will publish to xmission | ||
| + | |||
backup will pull images from dev | backup will pull images from dev | ||
| Line 26: | Line 25: | ||
::Given: עשב | ::Given: עשב | ||
::Produces: | ::Produces: | ||
| − | '''[[עשב]]''' | + | <nowiki> |
| − | + | '''[[עשב]]''' | |
| − | + | ||
| − | + | {{:ע-שב}} | |
| − | |||
| − | |||
| − | |||
| − | + | {{:עש-ב}} | |
| + | |||
| + | {{:ע-ש-ב}} | ||
| + | |||
| + | {{:ע(ש)ב}} | ||
| + | </nowiki> | ||
::It also produces content for the stubbed pages such as: | ::It also produces content for the stubbed pages such as: | ||
| Line 69: | Line 70: | ||
8. Add every Hebrew word from the bible into a DB: | 8. Add every Hebrew word from the bible into a DB: | ||
word, book, chapter, verse, position, strongs# | word, book, chapter, verse, position, strongs# | ||
| + | Index by each letter in the word. | ||
9. Create a web page to query the DB on; | 9. Create a web page to query the DB on; | ||
| Line 76: | Line 78: | ||
10. Populate DB with Strong's definitions | 10. Populate DB with Strong's definitions | ||
| + | |||
| + | |||
| + | =Installation= | ||
| + | 209.141.48.159 | ||
| + | |||
| + | Ubuntu 20.4 | ||
| + | |||
| + | useradd bob, mark | ||
| + | |||
| + | sudo apt update | ||
| + | sudo apt install vim | ||
| + | sudo apt install net-tools | ||
| + | sudo apt install docker | ||
| + | sudo apt install snapd | ||
| + | sudo snap install microk8s --classic --channel=1.18/stable | ||
| + | sudo snap refresh microk8s --classic --channel=1.19/stable | ||
| + | |||
| + | https://kompose.io/ | ||
| + | curl -L https://github.com/kubernetes/kompose/releases/download/v1.22.0/kompose-linux-amd64 -o kompose | ||
| + | chmod +x kompose | ||
| + | sudo mv ./kompose /usr/local/bin/kompose | ||
| + | |||
| + | |||
| + | https://kompose.io/getting-started/ | ||
Latest revision as of 19:49, 30 October 2020
There are three servers involved:
Hosted server at my house @xmission.com my router sensusplenior.net |------------------------------| asalittlechild.com backup dev themystery.info
Dev will be used to add content and develop tools.
dev will publish to xmission
backup will pull images from dev
- 1. Convert backup from Windows to Ubuntu
- 2. Convert dev from Debian to Ubuntu
- 3. Install mediawiki (MW) instance on dev
- 4. Pull mediawiki backup from xmission and install on dev
- 5. Create script to push changes in dev to xmission
- 6. Create program (bot) to add pages to mediawiki-dev
- 7. Use bot to add dictionary page given a Hebrew word.
- Given: עשב
- Produces:
'''[[עשב]]'''
{{:ע-שב}}
{{:עש-ב}}
{{:ע-ש-ב}}
{{:ע(ש)ב}}
- It also produces content for the stubbed pages such as:
* ע-שב -
- This is more difficult than it looks since the length of the word determines how many pages are stubbed out.
2-letter word ab produces ab a-b 3-letterword abc produces abc a-bc ab-c a-b-c a(b)c
4-letter word abcd produces abcd a-bcd a-b-cd a-b-c-d ab-cd a-bc-d a-b-cd abc-d
8. Add every Hebrew word from the bible into a DB:
word, book, chapter, verse, position, strongs# Index by each letter in the word.
9. Create a web page to query the DB on;
- Rules of notarikon
- Rules of puns
- Rules of gates
10. Populate DB with Strong's definitions
Installation
209.141.48.159
Ubuntu 20.4
useradd bob, mark
sudo apt update sudo apt install vim sudo apt install net-tools sudo apt install docker sudo apt install snapd sudo snap install microk8s --classic --channel=1.18/stable sudo snap refresh microk8s --classic --channel=1.19/stable
curl -L https://github.com/kubernetes/kompose/releases/download/v1.22.0/kompose-linux-amd64 -o kompose chmod +x kompose sudo mv ./kompose /usr/local/bin/kompose