Clark Boylan 036241434f Reapply "Move lodgeit image publication to quay.io"
This reverts commit 5f6c89b5008ab5429b9ab67b5f535c10fd3fba33.

Now that paste.o.o is running on Noble with podman as the runtime we
should be able to get speculative container image testing when hosting
the images on quay. Move the lodgeit container image back to quay to
test all these assumptions.

Note that we need to mirror the uwsgi-base image to quay to fully remove
the dependency on docker hub. This is done in the depends on. Let's also
wait until we're confident with the Paste02 backups before committing
fully to the new docker less setup.

Depends-On: https://review.opendev.org/c/opendev/system-config/+/939383
Change-Id: Ia3b0b816c4b662ae41dcb163cb2aa65c65a13d94
2025-01-17 13:04:10 -08:00
2022-11-10 10:30:15 -08:00
2022-11-10 10:30:15 -08:00
2019-04-19 19:25:38 +00:00
2016-02-26 15:23:37 +09:00
2022-11-10 10:30:15 -08:00
2008-09-14 13:44:48 +02:00
2008-07-08 11:20:20 +02:00
2017-02-25 13:47:11 +09:00
2021-06-29 19:24:27 +10:00
2024-02-20 21:49:07 +00:00
2020-03-09 08:19:55 -04:00
2022-11-10 10:30:15 -08:00
2014-02-08 10:39:12 +08:00

==============
LodgeIt Readme
==============

Lodgeit implements a pastebin and some scripts to paste the service.


Installation
~~~~~~~~~~~~

LodgeIt requires at least Python 2.5 to work correctly. Next to this LodgeIt has
quite a few of dependencies as well as a nice bootstrap process. This is documented
on the following slides.

Dependencies and virtual environment
====================================

To get LodgeIt work properly we need those dependencies: Python (at least 2.5),
python-setuptools and git.

For Ubuntu (or any Debian based distribution) use ``aptitude`` to install::

    aptitude install python-dev python-setuptools python-virtualenv git

Now we can install LodgeIt. But first we need to clone LodgeIt from the
git repository. To do that you create a new folder ``lodgeit-dev`` in your
projects directory and change into it. There we initialize the virtual
environment and clone LodgeIt::

    git clone https://opendev.org/opendev/lodgeit

Right before we can initialize the virtual environment we need to install some
development packages to compile the python imaging library.

For Ubuntu again ``aptitude`` (as root)::

    sudo aptitude install build-essential
    apt-get build-dep python-imaging

Now it's possible to install the virtual environment. This is done with a simple
Python command::

    # assumed that you are located in lodgeit-dev/lodgeit
    python scripts/make-bootstrap.py > ../bootstrap.py
    cd ..
    # make sure that the virtualenv is not activated. If yes, execute `deactivate`
    python bootstrap.py .

You are ready to run now.

Database and other things
=========================

We are now ready to enter the virtual environment (assumed you are located in
``lodgeit-dev/lodgeit``)::

    . ../bin/activate

LodgeIt initializes it's database per default on /tmp/lodgeit.db, you can change
that path in the manage.py by modifying ``dburi``.

Now start the development server::

    python manage.py runserver

Enjoy!

Environment Settings
====================

LODGEIT_TITLE_OVERRIDE : <string>
  Arbitrary string to override the main heading for site customisation
Description
LogdeIt, a Pastebin service
Readme 2.5 MiB
Languages
Python 60.8%
HTML 21.8%
CSS 7%
JavaScript 3.4%
Ruby 3.2%
Other 3.8%