Lucas_Werkmeister_WMDE moved this task from Backlog to Verification on the 
Shape Expressions Sprint 4 board.
Lucas_Werkmeister_WMDE added a comment.


  Well, the Toolforge instance is up at 
https://tools.wmflabs.org/shex-simple/wikidata/. Automatic updates should be 
working, but I guess we won’t know for sure until the next update to the 
repository.
  
  Setup commands:
  
    git clone --bare https://github.com/shexSpec/shex.js.git
    mkdir -p ~/public_html
    git -C shex.js.git/ worktree add ~/public_html/master master
    git -C shex.js.git/ worktree add ~/public_html/wikidata wikidata
    
    cat > ~/.lighttpd.conf << 'EOF'
    url.redirect = ( "(wikidata|master)/$" => "doc/shex-simple.html" )
    EOF
    webservice --backend=kubernetes php7.2 start
    
    cat > ~/update.sh << 'EOF'
    #!/bin/sh
    git -C shex.js.git fetch origin master wikidata
    for branch in master wikidata; do
        git -C public_html/"$branch" reset --hard
    done
    EOF
    chmod +x ~/update.sh
    
    { crontab -l; printf '%s\n' '0 * * * * ~/update.sh'; } | crontab -
  
  Any bright ideas where I could document those more permanently?

TASK DETAIL
  https://phabricator.wikimedia.org/T217333

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3954/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lydia_Pintscher, Aklapper, Lucas_Werkmeister_WMDE, ericP, pdehaye, 
alaa_wmde, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
YULdigitalpreservation, LawExplorer, Salgo60, _jensen, rosalieper, abian, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to