An open API service indexing awesome lists of open source software.

https://github.com/bmwant/bmwlog

John Travolta
https://github.com/bmwant/bmwlog

blog css html javascript python web

Last synced: 2 months ago
JSON representation

John Travolta

Awesome Lists containing this project

README

          

## bmwlog

[![Build Status](https://travis-ci.com/bmwant/bmwlog.svg?branch=master)](https://travis-ci.com/bmwant/bmwlog)

This is simple blog engine written with [bottle](https://bottlepy.org/docs/dev/)
(now only Python 3 compatible).

BmwLOG - some controversial thoughts from [bmwant](https://twitter.com/bmwant)

Try visiting [the web-site](http://bmwlog.pp.ua/) to see some boring articles.

### Development

* Install [Poetry](https://poetry.eustace.io/docs/#installation)
* Install [Node and NPM](https://nodejs.org/en/download/)

```bash
$ npm install
$ poetry install
$ make tests
$ make flake
$ python run.py # launch dev server
```

Database migrations. Edit `app/migrations/__main__.py` and execute

```bash
$ export PYTHONPATH=`pwd`
$ python -m app.migrations
```

Launch unittests with `poetry run pytest -sv -rs tests`. In case you don't have
local MySQL database server you can use test one within docker container.

```bash
$ docker pull mysql # not to wait pulling within Python client
$ poetry run pytest -sv -rs tests --spin-mysql-container
```

### Deployment

```bash
$ make setup
$ make update
```

### License

> This is free and unencumbered software released into the public domain.
>
> Anyone is free to copy, modify, publish, use, compile, sell, or
> distribute this software, either in source code form or as a compiled
> binary, for any purpose, commercial or non-commercial, and by any
> means.
>
> In jurisdictions that recognize copyright laws, the author or authors
> of this software dedicate any and all copyright interest in the
> software to the public domain. We make this dedication for the benefit
> of the public at large and to the detriment of our heirs and
> successors. We intend this dedication to be an overt act of
> relinquishment in perpetuity of all present and future rights to this
> software under copyright law.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
> OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
> ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to [unlicense.org](http://unlicense.org)