mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Clean up roles/kalite/README.rst
This commit is contained in:
		
							parent
							
								
									f5c20a7373
								
							
						
					
					
						commit
						f8d9969ce0
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,7 @@ This role installs KA Lite, an offline version of Khan Academy (https://www.khan
 | 
			
		|||
 | 
			
		||||
KA Lite downloads Khan Academy videos to your Internet-in-a-Box for offline use, with exercises and accounts if students want to track their own progress.
 | 
			
		||||
 | 
			
		||||
[Originally KA Lite had two servers, a light httpd server that serves Khan Academy videos, and a cron server that sets up cron jobs to download language packs and KA videos from the internet.  There were separate flags to enable these two servers.]
 | 
			
		||||
[Originally KA Lite had two servers, a light httpd server that served Khan Academy videos, and a cron server that set up cron jobs to download language packs and KA videos from the internet.  There were separate flags to enable these two servers.]
 | 
			
		||||
 | 
			
		||||
Using It
 | 
			
		||||
--------
 | 
			
		||||
| 
						 | 
				
			
			@ -36,11 +36,13 @@ Look at `role/kalite/defaults/main.yml <https://github.com/iiab/iiab/blob/master
 | 
			
		|||
Troubleshooting
 | 
			
		||||
---------------
 | 
			
		||||
 | 
			
		||||
*In late 2017, Internet-in-a-Box added a virtual environment (/usr/local/kalite/venv/) to keep KA Lite's Python package/dependency risks under control.  As such the command* `/usr/bin/kalite <https://github.com/iiab/iiab/blob/master/roles/kalite/templates/kalite.sh.j2>`_ *is a wrapper to this virtualenv*.  **Consequently, the following steps are no longer needed:**
 | 
			
		||||
 | 
			
		||||
Starting with KA Lite 0.15 (October 2015) you could run the server manually with the following commands:
 | 
			
		||||
 | 
			
		||||
* systemctl stop kalite-serve (make sure the systemd service is not running)
 | 
			
		||||
* export KALITE_HOME=/library/ka-lite (point kalite to the right environment)
 | 
			
		||||
* kalite start (start the server; can take more than 10 minutes in some environments)
 | 
			
		||||
* kalite start (start the server; took several minutes on older environments)
 | 
			
		||||
 | 
			
		||||
To return to using the systemd unit:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -48,8 +50,6 @@ To return to using the systemd unit:
 | 
			
		|||
* kalite stop
 | 
			
		||||
* systemctl start kalite-serve
 | 
			
		||||
 | 
			
		||||
*In late 2017, Internet-in-a-Box added a virtual environment (/usr/local/kalite/venv/) to keep KA Lite's Python package/dependency risks under control.  As such the command* `/usr/bin/kalite <https://github.com/iiab/iiab/blob/master/roles/kalite/templates/kalite.sh.j2>`_ *is a wrapper to this virtualenv.*
 | 
			
		||||
 | 
			
		||||
More Tips & Tricks
 | 
			
		||||
------------------
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue