rudimentary build & deploy instructions
This commit is contained in:
		
							parent
							
								
									115db4daf7
								
							
						
					
					
						commit
						8d8749d4fb
					
				| 
						 | 
					@ -1,3 +1,6 @@
 | 
				
			||||||
 | 
					# poetry
 | 
				
			||||||
 | 
					.venv
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# lektor
 | 
					# lektor
 | 
				
			||||||
packages/
 | 
					packages/
 | 
				
			||||||
lektor/
 | 
					lektor/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										12
									
								
								README.md
								
								
								
								
							
							
						
						
									
										12
									
								
								README.md
								
								
								
								
							| 
						 | 
					@ -5,7 +5,17 @@
 | 
				
			||||||
----------------------
 | 
					----------------------
 | 
				
			||||||
Create a webserver for lektor after installing the requirements:
 | 
					Create a webserver for lektor after installing the requirements:
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
lektor server
 | 
					poetry run lektor server
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Build the output files:
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					poetry run lektor build
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Copy to the webserver:
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					scp -rp $(poetry run lektor project-info --output-path)/ cwtv-web@ax41-1.fsn.mon2.de:/www/
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 Install requirements
 | 
					 Install requirements
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,15 +5,6 @@ excluded_assets = *.scss
 | 
				
			||||||
upscale = false
 | 
					upscale = false
 | 
				
			||||||
output_path = temp/builds/chaoswest.tv/
 | 
					output_path = temp/builds/chaoswest.tv/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[servers.preview]
 | 
					 | 
				
			||||||
name = preview
 | 
					 | 
				
			||||||
url = https://m2.xn--see-br-0xa.se/
 | 
					 | 
				
			||||||
url_style = absolute
 | 
					 | 
				
			||||||
enabled = yes
 | 
					 | 
				
			||||||
default = yes
 | 
					 | 
				
			||||||
locale = de_DE
 | 
					 | 
				
			||||||
target = rsync://example@example.com/srv/www/chaoswest.tv/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[alternatives.de]
 | 
					[alternatives.de]
 | 
				
			||||||
name = Deutsch
 | 
					name = Deutsch
 | 
				
			||||||
primary = yes
 | 
					primary = yes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue