Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
removed some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Winkler committed Oct 25, 2020
1 parent e1ae068 commit 9187026
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 321 deletions.
19 changes: 0 additions & 19 deletions THANKS.md

This file was deleted.

44 changes: 0 additions & 44 deletions docs/_static/lxc-install.svg

This file was deleted.

158 changes: 0 additions & 158 deletions docs/examples/lxc/lxc-install.sh

This file was deleted.

18 changes: 0 additions & 18 deletions docs/examples/lxc/paperless.conf

This file was deleted.

46 changes: 2 additions & 44 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ The `docker route`_ is quick & easy.
The `bare metal route`_ is a bit more complicated to setup but makes it easier
should you want to contribute some code back.

The `linux containers route`_ is quick, but makes alot of assumptions on the
The `linux containers route`_ is quick, but makes alot of assumptions on the
set-up, on the other hand the script could be used to install on a base
debian or ubuntu server.

.. _docker route: setup-installation-docker_
.. _bare metal route: setup-installation-bare-metal_
.. _Docker Machine: https://docs.docker.com/machine/
.. _linux containers route: setup-installation-linux-containers_

.. _setup-installation-bare-metal:

Expand Down Expand Up @@ -213,7 +212,7 @@ Docker Method
e-mail address and finally a password.
8. The default ``docker-compose.yml`` exports the webserver on your local port
8000. If you haven't adapted this, you should now be able to visit your
`Paperless webserver`_ at ``http://127.0.0.1:8000`` (or
`Paperless webserver`_ at ``http://127.0.0.1:8000`` (or
``https://127.0.0.1:8000`` if you enabled SSL). You can login with the
user and password you just created.
9. Add files to consumption directory the way you prefer to. Following are two
Expand Down Expand Up @@ -499,44 +498,3 @@ Docker daemon.

.. _restart-policy: https://docs.docker.com/engine/reference/commandline/run/#restart-policies-restart


.. _setup-installation-linux-containers:

Suggested way for Linux Container Method
++++++++++++++++++++++++++++++++++++++++

This method uses some rigid assumptions, for the best set-up:-

* Ubuntu lts as the container
* Apache as the webserver
* proftpd as ftp server
* ftpupload as the ftp user
* paperless as the main user for website
* http://paperless.lan is the desired lan url
* LXC set to give ip addresses on your lan

This could also be used as an install on a base debain/ubuntu server,
if the above assumptions are acceptable.

1. Install lxc


2. Lanch paperless container

.. code:: bash
$ lxc launch ubuntu: paperless
3. Run install script within container

.. code:: bash
$ lxc exec paperless -- sh -c "wget https://raw.githubusercontent.com/the-paperless-project/paperless/master/docs/examples/lxc/lxc-install.sh && /bin/bash lxc-install.sh --email"
The script will ask you for an ftpupload password.
As well as the super-user for paperless web front-end.
After around 10 mins, http://paperless.lan is ready and
ftp://paperless.lan with user: ftpupload

See the `Installation recording <_static/lxc-install.svg>`_.

38 changes: 0 additions & 38 deletions management/commands/create_superuser_with_password.py

This file was deleted.

0 comments on commit 9187026

Please sign in to comment.