File tree 7 files changed +69
-53
lines changed
7 files changed +69
-53
lines changed Original file line number Diff line number Diff line change 25
25
26
26
html_theme = "alabaster"
27
27
html_static_path = ["_static" ]
28
+ html_theme_options = {
29
+ "show_relbar_top" : False ,
30
+ "show_relbar_bottom" : True ,
31
+ }
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ Table of Contents
25
25
.. toctree ::
26
26
:maxdepth: 3
27
27
28
- installation/index
28
+ installation
29
+ usage
29
30
third-party-library-support/index
30
31
supported-libraries/index
31
32
Original file line number Diff line number Diff line change
1
+ Installation
2
+ ============
3
+
4
+ Clone the repository
5
+ --------------------
6
+
7
+ ::
8
+
9
+ git clone https://github.com/mongodb-labs/django-mongodb-cli
10
+ cd django-mongodb-cli
11
+
12
+
13
+ Create a virtual environment
14
+ ----------------------------
15
+
16
+ ::
17
+
18
+ python -m venv .venv
19
+ source .venv/bin/activate
20
+
21
+
22
+ Install ``dm `` command
23
+ ----------------------
24
+
25
+ ::
26
+
27
+ python -m pip install -e .
28
+
29
+ .. _additional-installation-steps :
30
+
31
+ Additional installation steps
32
+ -----------------------------
33
+
34
+ Clone third-party library repositories and install dependencies with ``just ``.
35
+
36
+ ::
37
+
38
+ just install
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ Usage
2
+ =====
3
+
4
+ Run third-party library tests
5
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
+
7
+ django-allauth
8
+ ++++++++++++++
9
+
10
+ .. warning ::
11
+
12
+ If you install ``lxml `` and ``xmlsec `` via ``pip `` instead of
13
+ ``just install `` :ref: `as described here <additional-installation-steps >`
14
+ you may encounter test failures due to `issues like this one
15
+ <https://github.com/xmlsec/python-xmlsec/issues/320> `_.
16
+
17
+ ::
18
+
19
+ dm repo test django-allauth
Original file line number Diff line number Diff line change @@ -5,9 +5,11 @@ install: pip-install git-clone dev-install
5
5
alias i := install
6
6
7
7
dev-install :
8
+ dm repo install django
8
9
dm repo install django-mongodb-backend
9
10
dm repo install django-mongodb-extensions
10
11
dm repo install mongo-python-driver
12
+ dm repo install python-xmlsec
11
13
12
14
13
15
demo :
@@ -21,12 +23,15 @@ alias d := demo
21
23
22
24
[group (' git' )]
23
25
git-clone :
26
+ dm repo clone django
27
+ dm repo clone django-allauth
24
28
dm repo clone django-mongodb-app
25
29
dm repo clone django-mongodb-backend
26
30
dm repo clone django-mongodb-extensions
27
31
dm repo clone django-mongodb-project
28
32
dm repo clone django-mongodb-templates
29
33
dm repo clone mongo-python-driver
34
+ dm repo clone python-xmlsec
30
35
31
36
# ---------------------------------------- django ----------------------------------------
32
37
@@ -63,6 +68,7 @@ db-init:
63
68
[group (' python' )]
64
69
pip-install : check-venv
65
70
brew install libxml2 libxmlsec1 pkg-config
71
+ pip install lxml== 5.3.2 --no-binary :all:
66
72
pip install -U pip
67
73
pip install -e .
68
74
pre-commit install
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ dependencies = [
12
12
" dj-database-url" , # For startproject and testing with postgres
13
13
" fido2" , # For django-allauth
14
14
" html5lib" , # Required by django-debug-toolbar
15
- " lxml==5.2.1" , # For django-allauth
16
15
" psycopg2" , # For django-allauth
17
16
" python3-openid" , # For django-allauth
18
17
" python3-saml" , # For django-allauth
You can’t perform that action at this time.
0 commit comments