mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Minor changes
This commit is contained in:
		| @@ -3,9 +3,6 @@ | |||||||
| Paperless development | Paperless development | ||||||
| ##################### | ##################### | ||||||
|  |  | ||||||
| General information |  | ||||||
| =================== |  | ||||||
|  |  | ||||||
| This section describes the steps you need to take to start development on paperless-ng. | This section describes the steps you need to take to start development on paperless-ng. | ||||||
|  |  | ||||||
| 1.  Check out the source from github. The repository is organized in the following way: | 1.  Check out the source from github. The repository is organized in the following way: | ||||||
| @@ -56,12 +53,11 @@ To do the setup you need to perform the steps from the following chapters in a c | |||||||
|     .. code:: shell-session |     .. code:: shell-session | ||||||
|  |  | ||||||
|         pipenv install --dev |         pipenv install --dev | ||||||
| 7. Generate the static UI so you can perform a login to get session that is required for frontend development (this needs to be done one time only). | 7. Generate the static UI so you can perform a login to get session that is required for frontend development (this needs to be done one time only). From root folder: | ||||||
|  |  | ||||||
|     .. code:: shell-session |     .. code:: shell-session | ||||||
|  |  | ||||||
|         pipenv shell  |         compile-frontend.sh | ||||||
|         cd /src-ui && ng build --prod |  | ||||||
| 8. Apply migrations and create a superuser for your dev instance: | 8. Apply migrations and create a superuser for your dev instance: | ||||||
|  |  | ||||||
|     .. code:: shell-session |     .. code:: shell-session | ||||||
| @@ -85,9 +81,6 @@ Back end development | |||||||
| The backend is a django application. I use PyCharm for development, but you can use whatever | The backend is a django application. I use PyCharm for development, but you can use whatever | ||||||
| you want. | you want. | ||||||
|  |  | ||||||
| This will also create a virtual environment, which you can enter with ``pipenv shell`` or |  | ||||||
| execute one-shot commands in with ``pipenv run``. |  | ||||||
|  |  | ||||||
| Configure the IDE to use the src/ folder as the base source folder. Configure the following | Configure the IDE to use the src/ folder as the base source folder. Configure the following | ||||||
| launch configurations in your IDE: | launch configurations in your IDE: | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sebastian König
					Sebastian König