mirror of
				https://github.com/tiyn/beaker-blog.git
				synced 2025-10-31 10:51:16 +01:00 
			
		
		
		
	adding requirements and readme
This commit is contained in:
		
							
								
								
									
										17
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | # Python Flask Blog | ||||||
|  |  | ||||||
|  | This is a blog based on Pythons Flask framework. | ||||||
|  |  | ||||||
|  | ## Installation | ||||||
|  |  | ||||||
|  | - `pip3 install requirements.txt` - install depenencies | ||||||
|  |  | ||||||
|  | ## Usage | ||||||
|  |  | ||||||
|  | - run `python app.py` | ||||||
|  | - blog is available on port 5000 | ||||||
|  |  | ||||||
|  | ### Create entries | ||||||
|  |  | ||||||
|  | Blog entries are managed by plain html files in the `templates/entry/` directory. | ||||||
|  | The first line of each document is reserved as the title of the document. | ||||||
							
								
								
									
										1
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | Flask==1.1.2 | ||||||
							
								
								
									
										0
									
								
								static/css/style.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								static/css/style.css
									
									
									
									
									
										Normal file
									
								
							| @@ -1,6 +1,7 @@ | |||||||
| <html> | <html> | ||||||
| <head> | <head> | ||||||
|     <title>{{ title }}</title> |     <title>{{ title }}</title> | ||||||
|  |     <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css"> | ||||||
|     <meta charset="utf-8"> |     <meta charset="utf-8"> | ||||||
|     <meta name="viewport" content="width=device-width", initial-scale=1.0> |     <meta name="viewport" content="width=device-width", initial-scale=1.0> | ||||||
| </head> | </head> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user