File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,4 @@ test = "coverage run manage.py test"
54
54
report = " coverage report -m"
55
55
lint = " pre-commit run --all-files"
56
56
precommit = " pre-commit install"
57
- static = " python mange .py distill-local build --traceback --force"
57
+ static = " python manage .py distill-local build --traceback --force"
Original file line number Diff line number Diff line change @@ -17,19 +17,15 @@ They are split into two parts:
17
17
To get started with building, you can use the following command:
18
18
19
19
``` shell
20
+ poetry install
20
21
python -m pip install httpx==0.19.0
21
- python manage.py distill-local build --traceback --force --collectstatic
22
+ poetry run task static
22
23
```
23
24
24
25
Alternatively, you can use the [ Dockerfile] ( /Dockerfile ) and extract the build.
25
26
26
27
Both output their builds to a ` build/ ` directory.
27
28
28
- > Warning: If you are modifying the [ build script] ( ./netlify_build.py ) , make sure it is compatible with Python 3.8.
29
-
30
- Note: The build script uses [ nightly.link] ( https://github.com/oprypin/nightly.link )
31
- to fetch the artifact with no verification.
32
-
33
29
### Deploying To Netlify
34
30
To deploy to netlify, link your site GitHub repository to a netlify site, and use the following settings:
35
31
@@ -46,3 +42,9 @@ Environment Variables:
46
42
Note that at this time, if you are deploying to netlify yourself, you won't have access to the
47
43
fa-icons pack we are using, which will lead to many missing icons on your preview.
48
44
You can either update the pack to one which will work on your domain, or you'll have to live with the missing icons.
45
+
46
+
47
+ > Warning: If you are modifying the [ build script] ( ./netlify_build.py ) , make sure it is compatible with Python 3.8.
48
+
49
+ Note: The build script uses [ nightly.link] ( https://github.com/oprypin/nightly.link )
50
+ to fetch the artifact with no authentication.
You can’t perform that action at this time.
0 commit comments