diff options
author | 2021-11-26 23:24:08 +0300 | |
---|---|---|
committer | 2021-11-26 23:24:08 +0300 | |
commit | 77da014e5c3e6c7eebf5d4d23d8aca9ca4a500f7 (patch) | |
tree | 00e3718d7b2f4ad0219b6115a52b6a2376e30c6d /static-builds/README.md | |
parent | Fix Typo In Static Task (diff) |
Clean Up Static Deploys Readme
Reorganize the static deploy readme, and clarify the content.
Diffstat (limited to 'static-builds/README.md')
-rw-r--r-- | static-builds/README.md | 14 |
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. |