https://github.com/m4cs/simplyblog
Minimalist blogging template for anybody with a little dev experience!
https://github.com/m4cs/simplyblog
Last synced: 3 months ago
JSON representation
Minimalist blogging template for anybody with a little dev experience!
- Host: GitHub
- URL: https://github.com/m4cs/simplyblog
- Owner: M4cs
- License: mit
- Created: 2019-09-17T13:18:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-17T13:28:09.000Z (almost 6 years ago)
- Last Synced: 2025-02-17T21:13:36.706Z (4 months ago)
- Language: HTML
- Homepage:
- Size: 6.84 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimplyBlog
A very basic, minimal blogging template written in FlaskDemo: https://blog.maxbridgland.com
# Getting Started
### Installation
To start you need to have `Python 3` (written on and maintained in Python 3.6.8 so use this distro for the best results). Run:
```
pip3 install -r requirements.txt
```This will get you setup with all the dependencies you will need.
Next head into the `app/__init__.py` file and modify the config to suit your needs. This is the config without any modifications when you pull the repo:
```
app.config.update({
'website_name': 'Title on landing page',
'website_desc': 'Subtitle below this title ^',
'name': 'Your name/publishing name',
'timezone': pytz.timezone('America/Chicago'), # ENTER YOUR TIMEZONE HERE
'secret_key': 'random-key-here', # PUT A SECRET KEY TO UPLOAD WITH, MAKE IT RANDOM TO INCREASE SECURITY!
'base_url': 'https://blog.myblog.com', # DOMAIN THE BLOG/API WILL BE RUNNING ON
'web_title': 'My Blog' # TITLE FOR HTML IN THE TAB
})
```Pretty self explainatory and I gave you some nice comments if you get confused.
**This is as bare minimum of a blog as it gets really lol**
### Running the Server
To run your new blog site simply run: `flask run` and you will see it is available on `http://localhost:5000/` head to this address and test everything out. (Your base_url should be set to `localhost:5000` when doing local development and testing).
### Posting To The Blog
To post to the blog make sure your app is running and then head to the `/panel` endpoint. You'll see a pretty little upload panel and a secret key input. You set this secret key in your config.

### Contributing
If you feel like there could be better changes or you'd like to write some tests go ahead! I have no real contribution guideline for this project as I doubt it will get used much anyways! Enjoy!