"Publish Your Articles Quickly and Easily."
To edit, you will need the Unique ID shown at the top of the page.
Please see alternatives to publish.li.
Deploying to your Own Server
This project uses the excellent gb as it's build tool. Here's a quickstart:
- clone the repo, with
git clone firstname.lastname@example.org:appsattic/publish.li.git
gb buildin the project root
./bin/publishin the project root
When you run it, you must provide two environment variables:
PORT- the local port you want to listen on, e.g.
BASE_URL- how your server looks from the outside world (e.g.
./bin/publish executable from the project root, so that the program can load up the templates and serve the
static pages. It outputs to both STDIN and STDERR, so it's up to you to redirect those where appropriate.
You might use a command like
BASE_URL=http://localhost:8080 PORT=8080 ./bin/publish in development.
Since publish.li uses the BoltDB embedded datastore, this project won't run on PaaS solutions like Heroku or OpenShift. There are very few operations which use the datastore (essentially get and put) so adding another backend such as MongoDB or Postgres should be pretty easy. The filesystem would also be easy for self-hosted on your own server but would have the same problems as the BoltDB backend.
Once anyone shows interest in another backend, we'll do a small refactor to use an interface in the application instead of a concrete type. Until then though, let's just leave it as-is.
This project is free software and can be forked, downloaded, used, and shared.