Cuneiform is a tiny blog. Written in Python, runs on LeanEngine.
- Create an app on LeanCloud.
- Get the latest lean-cli.
- Get yourself a virtualenv.
Clone this repo, cd into the directory, create a virtualenv and activate it:
virtualenv venv --python=python3
source ./venv/bin/activate
Then install the requirements:
pip install -r requirements.txt
Initialize the app with lean-cli. Type lean login
and login with your user name and password. Then type lean checkout
and follow the instructions.
Now your code is linked to the app on LeanCloud. Use lean up
to debug on localhost
, and use lean deploy
to push it online. Don't forget to set up a domain :)