A simple Blog engine using Flask and Markdown.
Project description
# BLASK
[](https://travis-ci.org/zerasul/blask) [](https://coveralls.io/github/zerasul/blask?branch=master) [](https://sonarcloud.io/dashboard?id=blask-project-key)[](https://badge.fury.io/py/Blask) [](http://pepy.tech/count/blask)
Blask is a blogging engine based on [Flask](http://flask.pocoo.org/). Blask uses Markdown syntax to create and render
the contents of blog posts.
Blask uses the Jinja2 template engine to render the web templates.
To install Blask, use ```pip```:
```pip install blask```
or download the source code:
```git clone https://github.com/zerasul/blask/```
Later, you need to create a ```settings.py``` file:
```python
templateDir = "templates"
postDir = "posts"
defaultLayout = "template.html"
staticDir = "static"
title = "Blask | A Simple Blog Engine Based on Flask"
```
For last, to Run Blask, use the next Code:
```python
from Blask import BlaskApp
import settings
if __name__ == '__main__':
b = BlaskApp(templateDir=settings.templateDir, postDir=settings.postDir
, defaultLayout=settings.defaultLayout,
staticDir=settings.staticDir, title=settings.title)
b.run()
```
Also, you can use a environment variable to set the settings:
```bash
export BLASK_SETTINGS=settings
```
You can use the Blask Command Line Tool to run the site:
```bash
blaskcli run --port 4444 #sets the port to 4444
```
For more information, see the [Blask web page](http://getblask.com/). Also, you can subscribe to our [Mailing List](https://www.freelists.org/archive/blask_mail_list).
---
You can see the [Code of Participation](https://www.mozilla.org/en-US/about/governance/policies/participation/) of this project.
Blask is Open Source under the [GPL 3.0](LICENSE) License
[](https://travis-ci.org/zerasul/blask) [](https://coveralls.io/github/zerasul/blask?branch=master) [](https://sonarcloud.io/dashboard?id=blask-project-key)[](https://badge.fury.io/py/Blask) [](http://pepy.tech/count/blask)
Blask is a blogging engine based on [Flask](http://flask.pocoo.org/). Blask uses Markdown syntax to create and render
the contents of blog posts.
Blask uses the Jinja2 template engine to render the web templates.
To install Blask, use ```pip```:
```pip install blask```
or download the source code:
```git clone https://github.com/zerasul/blask/```
Later, you need to create a ```settings.py``` file:
```python
templateDir = "templates"
postDir = "posts"
defaultLayout = "template.html"
staticDir = "static"
title = "Blask | A Simple Blog Engine Based on Flask"
```
For last, to Run Blask, use the next Code:
```python
from Blask import BlaskApp
import settings
if __name__ == '__main__':
b = BlaskApp(templateDir=settings.templateDir, postDir=settings.postDir
, defaultLayout=settings.defaultLayout,
staticDir=settings.staticDir, title=settings.title)
b.run()
```
Also, you can use a environment variable to set the settings:
```bash
export BLASK_SETTINGS=settings
```
You can use the Blask Command Line Tool to run the site:
```bash
blaskcli run --port 4444 #sets the port to 4444
```
For more information, see the [Blask web page](http://getblask.com/). Also, you can subscribe to our [Mailing List](https://www.freelists.org/archive/blask_mail_list).
---
You can see the [Code of Participation](https://www.mozilla.org/en-US/about/governance/policies/participation/) of this project.
Blask is Open Source under the [GPL 3.0](LICENSE) License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Blask-0.1.1.1.post2.tar.gz
(7.5 kB
view details)
File details
Details for the file Blask-0.1.1.1.post2.tar.gz.
File metadata
- Download URL: Blask-0.1.1.1.post2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac8fb1eb0078795c004627aa2ce57462a56d520f632d81f0ddea8d6444f4d8d9
|
|
| MD5 |
6c9497041b1d2c2a9b5f1768a61eda97
|
|
| BLAKE2b-256 |
0c63368a59a920b29467b783f69f95e4d4b4a0d129426b83a161890b5ce3a686
|