Skip to content

clckwrkbdgr/blackcompany

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blackcompany

A nano-CMS for small teams or personal use (PDS) written in Python and based on bottle.py.

Installation

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:

# 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:

$ python mywebserver.py

See usage for more details.

Development

Unit tests are written using default unittest module, so they are discoverable via python -m unittest discover.

Additional dependencies: pyfakefs.

About

A nano-CMS for small teams or personal use (PDS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages