Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Micropress – Python blog generator for hackers.
sudo pip install micropress
micropress init
— install default (/.microrc) and default
templates (/Documents/Micropress/) directory.
vim ~/.microrc
[system]
author = fluder
host = fluder.co
name = Geek Blog
timezone_offset = 120
post_per_page = 10
exclude_category = How-to
[storage]
build = ~/.build/micropress
public = ~/Documents/Micropress/public
templates = ~/Documents/Micropress/templates
pages = ~/Documents/Micropress/sources/pages
posts = ~/Documents/Micropress/sources/posts
[sync]
to = remote.host.name:/path/to/www # rsync path
key = ~/.ssh/id_rsa # ssh key for autosync feature
[locale]
month = January, February, March, April, May, June, July, August, September, October, November, December
days = Mon, Tue, Wed, Thu, Fri, Sat, Sun
micropress add post-name
then just write post, save and exit, working like a
charm.
micropress preview
— start webserver preview
micropress watch
— start file changes watcher
micropress generate
— save public and generated content into build
directory.
micropress sync
— upload content on production server.
pip uninstall micropress
rm ~/.microrc
rm -r ~/Documents/Micropress
launchctl unload -w co.fluder.micropress.watcher.plist
launchctl unload -w co.fluder.micropress.preview.plist
rm -r ~/Library/LaunchAgents/co.fluder.micropress.watcher.plist
rm -r ~/Library/LaunchAgents/co.fluder.micropress.preview.plist
Template engine is Jinja2, full support features.
---
title: ""
categories: View name/Link name
time: - # automatic change on save if autosync enabled
autosync: true # automatic upload after edit
---
[sync]
type = s3
bucket = BUCKET_NAME
access_key_id = ACCESS_KEY_ID
secret_access_key = SECRET_ACCESS_KEY
[sync]
to = remote.host.name:/path/to/www # rsync path
key = ~/.ssh/id_rsa # ssh key for autosync feature
[sync]
type = git
key = ~/.ssh/id_rsa # ssh key path, used for github commits
FAQs
Blog generator for hackers.
We found that micropress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.