https://github.com/clckwrkbdgr/blackcompany
A nano-CMS for small teams or personal use (PDS)
https://github.com/clckwrkbdgr/blackcompany
bottle cms pds
Last synced: about 1 month ago
JSON representation
A nano-CMS for small teams or personal use (PDS)
- Host: GitHub
- URL: https://github.com/clckwrkbdgr/blackcompany
- Owner: clckwrkbdgr
- License: wtfpl
- Created: 2013-07-04T19:53:00.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2025-08-26T18:48:49.000Z (10 months ago)
- Last Synced: 2025-08-27T02:30:54.354Z (10 months ago)
- Topics: bottle, cms, pds
- Language: Python
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
blackcompany
============
A nano-CMS for small teams or personal use (PDS) written in Python and based on [bottle.py](https://bottlepy.org/).
Installation
------------
```bash
python ./setup.py build
python -m pip wheel . --no-deps --wheel-dir=dist
python -m pip install --upgrade dist/*.whl
```
Usage
-----
Example of simplest usage:
```python
# mywebserver.py
import blackcompany
import blackcompany.serve
blackcompany.serve.mime.Text.Html.serve('/', '/home/user/web/index.html')
if __name__ == '__main__'
blackcompany.run_cli(host='0.0.0.0', port=8080)
```
Now it could be run from command line:
```bash
$ python mywebserver.py
```
See [usage](docs/usage.md) for more details.
Development
-----------
Unit tests are written using default `unittest` module,
so they are discoverable via `python -m unittest discover`.
Additional dependencies: `pyfakefs`.