||7 months ago|
|lush||7 months ago|
|tests||11 months ago|
|.env||7 months ago|
|.gitignore||11 months ago|
|LICENSE||11 months ago|
|MANIFEST.in||11 months ago|
|README.md||7 months ago|
|init.sh||7 months ago|
|setup.py||11 months ago|
No bloat, no js, and no bs.
lush is a minimalist blogging platform for the common writer. It is currently in alpha, or beta as basic functionality is still being added (see in progress features and long term goals below).
- lush now lets the user choose between plain text and markdown for posts
- Minimal resource utilization
- a local instance of lush loads in only 72 ms
- only uses html and css for rendering and posts are stored in a slim sqlite db
- Manage the database from the command line with commands to add users, remove users, initialize the data, and more to come
In progress features
Long term goals
- Customized themes
Installing via wheel
Installing lush is made easy with flask.
- Dependencies to install are the python wheel package and waitress-serve.
- Run the following to install deps:
pip install wheel pip install waitress use whatever your OS' package manager is sudo pacman -S waitress-serve
Next build the wheel distribution
python setup.py bdist_wheel
- You can find the file in dist/lush-0.1.0-py3-none-any.whl.
finally install with
pip install dist/lush-0.1.0-py3-none-any.whl
Setting up lush
- Environment vars will need to be set for the next step you can simply run
- Next we will initialize the DB by running
python3 -m flask init-db
- You will next want to generate your secret key - you may do it this way
python -c 'import secrets; print(secrets.token_hex())'
- Create the config.py file in the instance folder, and copy the generated value into it.
- Create your first user by running
python3 -m flask addusrand following the guided steps
- if you need to delete a user you can run rmusr
the webserver can be launched with the following:
waitress-serve --port=80 --call 'lush:create_app'