A humble micropub server to use with static site generators (primarily Eleventy).
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Pranav Karawale 8e305bc1fc
Update dependencies
1 month ago
alembic Re-arrange all imports in Python code 2 months ago
app Adjust render metadata for 11ty 2 months ago
data Add tests for media endpoint 2 months ago
tests Adjust render metadata for 11ty 2 months ago
.gitignore Initial Commit 3 months ago
Pipfile Add README 2 months ago
Pipfile.lock Update dependencies 1 month ago
README.md Fix typo 2 months ago
alembic.ini Initial Commit 3 months ago
pyproject.toml Initial Commit 3 months ago
requirements.txt Update dependencies 1 month ago

README.md

Lilac

A content management system based on technologies described by the Indieweb. Lilac contains the following components:

Installation

  1. Clone this repository.
  2. Create a virtual environment using pipenv.
    mkdir .venv
    pipenv shell
    
  3. Install the dependencies.
    pipenv install -r requirements.txt
    pipenv install --dev
    
  4. Copy the example configuration and adjust it to your needs.
    cp data/example_config.py data/config.py
    
  5. Create a database.
    alembic upgrade head
    
  6. Run the server.
    # This will run on port 5000, adjust to needs.
    waitress-serve --port 5000 --call "app:create_app"
    
    You can then connect Lilac to your domain using a reverse proxy server.

Upgrading

  1. Pull updates to the repository.
    git pull
    
  2. Update dependencies.
    pipenv update --dev
    
  3. Run migrations on the database.
    alembic upgrade head