You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/site/start_crm.md
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,29 @@
1
-
##Run CRM on the built-in server
1
+
# Run CRM using the built-in server
2
2
3
3
!!! Note
4
4
Don't use this server in anything resembling a production environment (with access to the CRM from the Internet).
5
5
It is intended only for use on a personal computer or in intranet - a private local network (for example, during development).
6
6
7
7
The built-in server can only be used when `DEBUG = True` (the default setting).
8
8
9
+
## Run CRM on localhost
10
+
9
11
```cmd
10
12
python manage.py runserver
11
13
```
12
14
13
-
In this case, [Django CRM](https://docs.djangoproject.com/en/dev/ref/contrib/admin/){target="_blank"} will be available on your computer on the IP address `http://127.0.0.1:8000` (localhost with port 8000).
14
-
Open the web page at this address in your browser.
15
-
If you need to provide access to CRM from an intranet (local network), specify the IP address of your network card and port
15
+
In this case, CRM will be available on your computer on the IP address `http://127.0.0.1:8000` (localhost with port 8000).
16
+
But if you open the web page at this address in your browser, you will see an error page.
17
+
The login address for CRM is listed below, in the ["Access to CRM and admin sites"](#access-to-crm-and-admin-sites) section.
18
+
19
+
You may encounter log messages such as:
20
+
`Another instance is already running, quitting.`
21
+
This behavior is expected and requires no intervention.
22
+
Django CRM operates as a self-hosted web application where the server may spawn multiple worker processes to handle concurrent tasks. However, certain internal services within the CRM are designed to run as a single instance to maintain data integrity or avoid conflicts. To enforce this, duplicate instances of these services are automatically detected and terminated during startup.
23
+
24
+
## Run CRM on a specific IP address and port
25
+
26
+
If you need to provide access to CRM from an intranet (local network), specify the IP address of your network card and port.
16
27
17
28
!!! Important
18
29
But first, [specify the CRM website domain](#specify-crm-site-domain).
@@ -23,12 +34,6 @@ For example:
23
34
python manage.py runserver 1.2.3.4:8000
24
35
```
25
36
26
-
You may encounter log messages such as:
27
-
`Another instance is already running, quitting.`
28
-
This behavior is expected and requires no intervention.
29
-
Django CRM operates as a web application where the server may spawn multiple worker processes to handle concurrent tasks. However, certain internal services within the CRM are designed to run as a single instance to maintain data integrity or avoid conflicts. To enforce this, duplicate instances of these services are automatically detected and terminated during startup.
30
-
31
-
32
37
## Access to CRM and admin sites
33
38
34
39
Now you have two websites.
@@ -47,7 +52,7 @@ and Admin site for administrators (superusers):
47
52
can be changed in the file `webcrm/settings.py`
48
53
49
54
!!! Note
50
-
Do not attempt to access the bare `<your CRM host>` address (`http://127.0.0.1:8000/`).
55
+
Do not attempt to access the bare `<your CRM host>` address (`http://127.0.0.1:8000/`).
51
56
This address is not supported.
52
57
To protect CRM with a site server (e.g. [Apache](https://httpd.apache.org/){target="_blank"}), a redirect to a fake login page can be placed on this address.
53
58
@@ -71,4 +76,3 @@ Many buttons and icons on CRM pages have tooltips that appear when you hover ove
71
76
72
77
Many pages have an icon <spanstyle="vertical-align: baseline"><imgsrc="../icons/question-mark.svg"alt="Question-mark icon"width="25"height="25"></span> in the upper right corner.
0 commit comments