mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Test (#20)
* change apache_data to apache_user in all * no libapach2 in centos. just php. no php-magick in centos * remove redundant vars entries * do not create apache user * missed one pound sign * soft code all references to apache_user * centos requires older setuptools * revert ansible_lsb.id in xsce.yml * try getting recent pip * move pip download to 2prep so that kalite success is not dependent on iiab coming first * still need to replace setuptools in kalite * add curl -- needed in debian * massivly substitue iiab for xsce, and rename files * completed runansible * centos fixes,install pip * appliance means no iptables rules * change to earlier version of setuptools for centos * delete file duplicate, hopefully unnecessary. generate the offline docs * wiki docs errors * create the admin group -- deleted earlier * use the --yes option with pip uninstall * base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io * network detection broken due to tupo
This commit is contained in:
parent
6ef68cc480
commit
f319afa432
179 changed files with 978 additions and 672 deletions
|
@ -9,8 +9,8 @@ apt-get install -y mlocate vim emacs
|
|||
cd /opt
|
||||
mkdir schoolserver
|
||||
cd schoolserver
|
||||
git clone https://github.com/xsce/xsce --depth 1
|
||||
cd xsce
|
||||
git clone https://github.com/iiab/iiab --depth 1
|
||||
cd iiab
|
||||
|
||||
# install ansible using script
|
||||
./scripts/ansible
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash -x
|
||||
# pull down repo wiki, and imbed in docs subdirectory
|
||||
|
||||
source /etc/xsce/xsce.env
|
||||
REPONAME=xsce
|
||||
source /etc/iiab/iiab.env
|
||||
REPONAME=iiab
|
||||
REPO=https://github.com/XSCE
|
||||
WIKI=xsce-wiki
|
||||
WIKI=iiab-wiki
|
||||
TARGET_URL=/info
|
||||
WWWROOT=/library/www/html
|
||||
INPUT=/tmp/${WIKI}
|
||||
|
@ -32,7 +32,7 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
mkdir -p $WWWROOT$TARGET_URL/html
|
||||
|
||||
# To Do find more links to rewrite, especially after moving from xsce to iiab
|
||||
# To Do find more links to rewrite, especially after moving from iiab to iiab
|
||||
for f in `ls /tmp/${WIKI}`; do
|
||||
FTRIMMED=${f%.md}
|
||||
if [ $FTRIMMED = "Home" ]; then FTRIMMED=index;fi
|
||||
|
@ -51,9 +51,9 @@ lynx -reload -source http://wiki.laptop.org/go/XS_Community_Edition/Security >
|
|||
lynx -reload -source http://wiki.laptop.org/go/XS_Community_Edition/local_vars.yml > $WWWROOT$TARGET_URL/html/local_vars.yml
|
||||
|
||||
# fetch the embedded help pages from the admin console
|
||||
#for f in `ls ../roles/xsce-admin/files/console/help`; do
|
||||
#for f in `ls ../roles/iiab-admin/files/console/help`; do
|
||||
# FTRIMMED=${f%.rst}
|
||||
# pandoc -s ../roles/xsce-admin/files/console/help/$f -o ../docs/html/offline-help/$FTRIMMED.html
|
||||
# pandoc -s ../roles/iiab-admin/files/console/help/$f -o ../docs/html/offline-help/$FTRIMMED.html
|
||||
# # make links refer to local directory
|
||||
# sed -i -e "s|$REPO/$REPONAME/wiki/\(.*\)\">|./\1.html\">)|" ../docs/html/$FTRIMMED.html
|
||||
#done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue