LoFa
Add
Login
Search
Title:
Tag1 for Path:
a single word in lower characters
Tag2 for Path:
List of alternative single tags:
one or many words in lower characters, separated by comma or space
Text:
<p>This text describes the installation of Django 4 web framework on FreeBSD 13. Required software such as Python, Nginx and PostgreSQL are already installed.</p> <p>Refer to: https://docs.djangoproject.com/en/3.0/intro/install/</p> <pre> <kbd>cd /usr/local/www/</kbd> <kbd>mkdir django4</kbd> <kbd>cd django4</kbd> <kbd>python3 -m venv env</kbd> <kbd>source env/bin/activate.csh</kbd> <kbd>pip install Django==4.0</kbd> </pre> <pre> <samp> Collecting Django==4.0rc1 Downloading Django-4.0rc1-py3-none-any.whl (7.9 MB) |████████████████████████████████| 7.9 MB 12.9 MB/s Collecting sqlparse>=0.2.2 Downloading sqlparse-0.4.2-py3-none-any.whl (42 kB) |████████████████████████████████| 42 kB 1.5 MB/s Collecting asgiref>=3.3.2 Downloading asgiref-3.4.1-py3-none-any.whl (25 kB) Collecting backports.zoneinfo Downloading backports.zoneinfo-0.2.1.tar.gz (74 kB) |████████████████████████████████| 74 kB 3.7 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Building wheels for collected packages: backports.zoneinfo Building wheel for backports.zoneinfo (PEP 517) ... done Created wheel for backports.zoneinfo: filename=backports.zoneinfo-0.2.1-cp38-cp38-freebsd_13_0_release_p4_amd64.whl size=38056 sha256=cb5fe62a7c8df9284b88a6470de868f5e0b47e0063c131b5c09003fa22694c38 Stored in directory: /root/.cache/pip/wheels/c7/de/cc/c405827ed64f81b56142f1e0075a970b2731b00d21983d54fb Successfully built backports.zoneinfo Installing collected packages: sqlparse, backports.zoneinfo, asgiref, Django Successfully installed Django-4.0rc1 asgiref-3.4.1 backports.zoneinfo-0.2.1 sqlparse-0.4.2 </samp> </pre> <code> <kbd>python</kbd> <samp> Python 3.6.9 (default, Aug 22 2019, 01:16:05) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> <kbd>import django</kbd> >>> <kbd>print(django.get_version())</kbd> 3.0 >>> <kdb>exit()</kbd> </code> </pre>
URL:
Operation:
Delete
Update
Insert
Template Prompt