mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
remove obsolete steps from the documentation
This commit is contained in:
parent
caf0e1d15b
commit
040e652e6a
@ -111,26 +111,16 @@ After grabbing the new release and unpacking the contents, do the following:
|
|||||||
This creates a new virtual environment (or uses your existing environment)
|
This creates a new virtual environment (or uses your existing environment)
|
||||||
and installs all dependencies into it.
|
and installs all dependencies into it.
|
||||||
|
|
||||||
3. Collect static files.
|
3. Migrate the database.
|
||||||
|
|
||||||
.. code:: shell-session
|
|
||||||
|
|
||||||
$ cd src
|
|
||||||
$ pipenv run python3 manage.py collectstatic --clear
|
|
||||||
|
|
||||||
4. Migrate the database.
|
|
||||||
|
|
||||||
.. code:: shell-session
|
.. code:: shell-session
|
||||||
|
|
||||||
$ cd src
|
$ cd src
|
||||||
$ pipenv run python3 manage.py migrate
|
$ pipenv run python3 manage.py migrate
|
||||||
|
|
||||||
5. Update translation files.
|
This might not actually do anything. Not every new paperless version comes with new
|
||||||
|
database migrations.
|
||||||
|
|
||||||
.. code:: shell-session
|
|
||||||
|
|
||||||
$ cd src
|
|
||||||
$ pipenv run python3 manage.py compilemessages
|
|
||||||
|
|
||||||
Management utilities
|
Management utilities
|
||||||
####################
|
####################
|
||||||
|
@ -225,7 +225,6 @@ writing. Windows is not and will never be supported.
|
|||||||
* ``python3-pip``, optionally ``pipenv`` for package installation
|
* ``python3-pip``, optionally ``pipenv`` for package installation
|
||||||
* ``python3-dev``
|
* ``python3-dev``
|
||||||
|
|
||||||
* ``gettext`` for compiling interface translations
|
|
||||||
* ``fonts-liberation`` for generating thumbnails for plain text files
|
* ``fonts-liberation`` for generating thumbnails for plain text files
|
||||||
* ``imagemagick`` >= 6 for PDF conversion
|
* ``imagemagick`` >= 6 for PDF conversion
|
||||||
* ``optipng`` for optimizing thumbnails
|
* ``optipng`` for optimizing thumbnails
|
||||||
@ -293,15 +292,9 @@ writing. Windows is not and will never be supported.
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# This collects static files from paperless and django.
|
|
||||||
python3 manage.py collectstatic --clear --no-input
|
|
||||||
|
|
||||||
# This creates the database schema.
|
# This creates the database schema.
|
||||||
python3 manage.py migrate
|
python3 manage.py migrate
|
||||||
|
|
||||||
# This creates the translation files for paperless.
|
|
||||||
python3 manage.py compilemessages
|
|
||||||
|
|
||||||
# This creates your first paperless user
|
# This creates your first paperless user
|
||||||
python3 manage.py createsuperuser
|
python3 manage.py createsuperuser
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user