| 
									
										
										
										
											2025-01-17 23:06:17 +01:00
										 |  |  | PYTHON=./.venv/bin/python  | 
					
						
							|  |  |  | PIP=./.venv/bin/pip  | 
					
						
							| 
									
										
										
										
											2025-01-18 13:21:38 +01:00
										 |  |  | APP=./.venv/bin/snek.serve | 
					
						
							|  |  |  | GUNICORN=./.venv/bin/gunicorn | 
					
						
							|  |  |  | GUNICORN_WORKERS = 1 | 
					
						
							| 
									
										
										
										
											2025-01-17 23:06:17 +01:00
										 |  |  | PORT = 8081 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-26 00:22:36 +01:00
										 |  |  | python: | 
					
						
							|  |  |  | 	$(PYTHON) | 
					
						
							| 
									
										
										
										
											2025-01-17 23:06:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-02-26 00:22:36 +01:00
										 |  |  | run: | 
					
						
							|  |  |  | 	$(GUNICORN) -w $(GUNICORN_WORKERS) -k aiohttp.worker.GunicornWebWorker snek.gunicorn:app --bind 0.0.0.0:$(PORT) --reload | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2025-01-17 23:06:17 +01:00
										 |  |  | install: | 
					
						
							|  |  |  | 	python3 -m venv .venv  | 
					
						
							|  |  |  | 	$(PIP) install -e . | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-24 03:28:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 |