mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06: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:
		@@ -82,21 +82,22 @@ Standard (Bare Metal)
 | 
			
		||||
   this is the default.
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
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
 | 
			
		||||
   known as http://localhost:8000/.
 | 
			
		||||
   You should now be able to visit your (empty) installation at
 | 
			
		||||
   `Paperless webserver`_ or whatever you chose before.  You can login with the
 | 
			
		||||
   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
 | 
			
		||||
   ``./manage.py document_consumer``.
 | 
			
		||||
8. Scan something or put a file into the  ``CONSUMPTION_DIR``.
 | 
			
		||||
9. Wait a few minutes
 | 
			
		||||
10. Visit the document list on your webserver, and it should be there, indexed
 | 
			
		||||
9. Scan something or put a file into the  ``CONSUMPTION_DIR``.
 | 
			
		||||
10. Wait a few minutes
 | 
			
		||||
11. Visit the document list on your webserver, and it should be there, indexed
 | 
			
		||||
    and downloadable.
 | 
			
		||||
 | 
			
		||||
.. caution::
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user