Skip to content

Commit

Permalink
Merge pull request #211 from CinnamonXI/patch-1
Browse files Browse the repository at this point in the history
made a few corrections
  • Loading branch information
zerasul authored Oct 1, 2021
2 parents 9555906 + ebe3983 commit 8361616
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ or download the source code:

```git clone https://github.com/zerasul/blask/```

Later, you need to create a ```settings.py``` file:
After downloading you need to create a ```settings.py``` file:

```python
templateDir = "templates"
Expand All @@ -26,7 +26,13 @@ title = "Blask | A Simple Blog Engine Based on Flask"
errors= { 404: "404"}
```

For last, to Run Blask, use the next Code:
You can also use an environment variable to set the settings:

```bash
export BLASK_SETTINGS=settings
```

To Run Blask, use the following Code:

```python
from blask import BlaskApp
Expand All @@ -39,12 +45,6 @@ For last, to Run Blask, use the next Code:
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
Expand Down

0 comments on commit 8361616

Please sign in to comment.