mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-11 10:00:48 -05:00
Add static file collection instruction to bare-metal setup guide as it is necessary for whitenoise static file serving
This commit is contained in:
parent
4107323a76
commit
7e77c5ec31
@ -82,21 +82,22 @@ Standard (Bare Metal)
|
|||||||
this is the default.
|
this is the default.
|
||||||
|
|
||||||
4. Initialise the SQLite database with ``./manage.py migrate``.
|
4. Initialise the SQLite database with ``./manage.py migrate``.
|
||||||
5. Create a user for your Paperless instance with
|
5. Collect the static files for the webserver with ``./manage.py collectstatic``.
|
||||||
|
6. Create a user for your Paperless instance with
|
||||||
``./manage.py createsuperuser``. Follow the prompts to create your user.
|
``./manage.py createsuperuser``. Follow the prompts to create your user.
|
||||||
6. Start the webserver with ``./manage.py runserver <IP>:<PORT>``.
|
7. Start the webserver with ``./manage.py runserver <IP>:<PORT>``.
|
||||||
If no specific IP or port is given, the default is ``127.0.0.1:8000`` also
|
If no specific IP or port is given, the default is ``127.0.0.1:8000`` also
|
||||||
known as http://localhost:8000/.
|
known as http://localhost:8000/.
|
||||||
You should now be able to visit your (empty) installation at
|
You should now be able to visit your (empty) installation at
|
||||||
`Paperless webserver`_ or whatever you chose before. You can login with the
|
`Paperless webserver`_ or whatever you chose before. You can login with the
|
||||||
user/pass you created in #5.
|
user/pass you created in #5.
|
||||||
|
|
||||||
7. In a separate window, change to the ``src`` directory in this repo again,
|
8. In a separate window, change to the ``src`` directory in this repo again,
|
||||||
but this time, you should start the consumer script with
|
but this time, you should start the consumer script with
|
||||||
``./manage.py document_consumer``.
|
``./manage.py document_consumer``.
|
||||||
8. Scan something or put a file into the ``CONSUMPTION_DIR``.
|
9. Scan something or put a file into the ``CONSUMPTION_DIR``.
|
||||||
9. Wait a few minutes
|
10. Wait a few minutes
|
||||||
10. Visit the document list on your webserver, and it should be there, indexed
|
11. Visit the document list on your webserver, and it should be there, indexed
|
||||||
and downloadable.
|
and downloadable.
|
||||||
|
|
||||||
.. caution::
|
.. caution::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user