aboutsummaryrefslogtreecommitdiffstats
path: root/static-builds
diff options
context:
space:
mode:
authorGravatar Rohan Reddy Alleti <[email protected]>2021-12-13 11:14:16 +0530
committerGravatar GitHub <[email protected]>2021-12-13 11:14:16 +0530
commit4693de033391977d925e8af2bd956202d6f81d11 (patch)
tree722fe0e9771c64965d89d11db603a99a64db231b /static-builds
parentRemove get_queryset() and add new class variable . (diff)
parentMerge pull request #633 from python-discord/dependabot/pip/django-3.1.14 (diff)
Merge branch 'main' into otn_softdel
Diffstat (limited to 'static-builds')
-rw-r--r--static-builds/README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/static-builds/README.md b/static-builds/README.md
index b5cba896..9b86ed08 100644
--- a/static-builds/README.md
+++ b/static-builds/README.md
@@ -17,19 +17,15 @@ They are split into two parts:
To get started with building, you can use the following command:
```shell
+poetry install
python -m pip install httpx==0.19.0
-python manage.py distill-local build --traceback --force --collectstatic
+poetry run task static
```
Alternatively, you can use the [Dockerfile](/Dockerfile) and extract the build.
Both output their builds to a `build/` directory.
-> Warning: If you are modifying the [build script](./netlify_build.py), make sure it is compatible with Python 3.8.
-
-Note: The build script uses [nightly.link](https://github.com/oprypin/nightly.link)
-to fetch the artifact with no verification.
-
### Deploying To Netlify
To deploy to netlify, link your site GitHub repository to a netlify site, and use the following settings:
@@ -46,3 +42,9 @@ Environment Variables:
Note that at this time, if you are deploying to netlify yourself, you won't have access to the
fa-icons pack we are using, which will lead to many missing icons on your preview.
You can either update the pack to one which will work on your domain, or you'll have to live with the missing icons.
+
+
+> Warning: If you are modifying the [build script](./netlify_build.py), make sure it is compatible with Python 3.8.
+
+Note: The build script uses [nightly.link](https://github.com/oprypin/nightly.link)
+to fetch the artifact with no authentication.