Skip to content

Commit

Permalink
update doc about running own server
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed Oct 20, 2018
1 parent 4e16b9c commit 0b7719c
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions doc/maintenance/env.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@


Running your own server
=======================

You can run your own Cicero instance on your own server. Cicero is a Flask app
and to serve it you should use a WSGI server for production.
The sources are open source: https://github.com/bast/cicero


Environment variables
=====================

``CICERO_URL_BASE``: defines the URL base for generated links in the Markdown file finder.

As an example, for https://cicero.xyz we set::
You will need to define ``CICERO_URL_BASE`` to the URL of your server. This sets the
URL base for generated links in the Markdown file finder.

CICERO_URL_BASE=https://cicero.xyz
As an example, for https://cicero.xyz we set ``CICERO_URL_BASE=https://cicero.xyz``.

0 comments on commit 0b7719c

Please sign in to comment.