Project

General

Profile

Docker » History » Revision 16

Revision 15 (Benjamin Baer, 01.02.2023 15:18) → Revision 16/111 (Benjamin Baer, 01.02.2023 15:26)

h1. Docker 

 h2. Installation 

 * Server: webwork20 
 * Path: /var/docker/[user]/ 
 * Checkout git repo:  
 <pre> 
 git clone https://systemvcs.math.uzh.ch/it/typo3-docker.git 
 </pre> 
 * rename the typo3-docker folder! [user]-[instance] ex. bbaer-dev 
 * execute bootstrap.py 
 <pre> 
 cd [user]-[instance] 
 python3 bootstrap.py 
 </pre> 
 * After setup, navigate to https://webwork20:xxxx/typo3/install.php 
 !typo3_1.png! 
 * Type in your typo3 backend user and password, etc.; click continue 
 !typo3_2.png! 
 * Choose "take me straight to the backend" 
 * Login 
 * Go to extension and add fluid styled content: 
 !typo3_3.png 
 * Install latest qfq (https://qfq.io/download/?dir=releases) and uzh_cd (https://www.math.uzh.ch/repo/?dir=uzhcd/v9) 
 * Create first page: 
 !typo3_4.png! 
 !typo3_5.png! 
 !typo3_6.png! 
 * Under access, set page visible to true 
 * Add template to home (via plus): basic template: 
 !typo3_7_t1.png! 
 !typo3_7_t2.png! 
 !typo3_7_t3.png! 

 * Add page content > QFQ to home 

 !qfq_1.png! 

 <pre> 
 10.sql = SELECT "Hello world from QFQ, ", NOW() 
 </pre> 

 * Try view page on home for a first test: 
 !qfq2.png! 

 * As instructed, create a new page "Form" with pagecontent [QFQ] Form under Home and load the formEditor: 
 <pre> 
 file=_formEditor 
 </pre> 

 * Reload the page 
 !qfq3.png! 

 * Typo3 instance has finished setting up!