aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content (follow)
Commit message (Collapse)AuthorAgeLines
...
| * Improve Gitpod section in Sir Lancebot contributing guideGravatar Hedy Li2021-11-04-2/+7
| | | | | | | | | | | | | | - Add newlines so it's not a big unfriendly paragraph - Fix gitpod workspace link - Clarification on terminal commands - Clarification on test server and bot - Add links for that ^ and for environment variables
* | Add table of content and final editsGravatar minalike2022-02-20-18/+16
| |
* | Update contentGravatar minalike2022-02-20-25/+39
| | | | | | | | | | | | | | | | Update some screenshot images to reflect emoji used in category names Break up some of the FAQ questions into smaller questions Mention the !helpdm on command added in 2021 Mention the channel claimed embed added in 2022 Culling of content to focus on information pertaining to getting help
* | Edit "can only Helpers help?" answer and questionGravatar mina2022-02-20-7/+5
| | | | | | | | Remove screenshot of occupied help channels because it doesn't serve much purpose, and help can also be provided in topical channels.
* | Edit "how do I close my channel" question and answerGravatar mina2021-12-23-1/+1
| |
* | Add "no one answered me" question and answerGravatar mina2021-12-23-0/+6
| |
* | Update channel dormancy timingsGravatar mina2021-12-23-3/+3
| |
* | Add Frequently Asked Questions headerGravatar mina2021-12-23-0/+2
| |
* | Update wording in topical and general help channel sectionsGravatar mina2021-12-23-10/+8
| |
* | Fix markdown error linking to recommended editorsGravatar mina2021-12-23-1/+1
| |
* | Content: update help channel claiming systemGravatar Matteo Bertucci2021-11-12-2/+2
|/ | | | | | This commit changes the following inside the help channel guide: * Only one help channel can be claimed at the same time * You can use the search to find your channel * The channel will close after 10 minutes if someone else sends a message
* Correct redis config instructions in bot guideGravatar Boris Muratov2021-10-23-1/+1
|
* Merge branch 'main' into typosGravatar Matteo Bertucci2021-10-18-4/+9
|\
| * Fixes Test Paths For Windows (#596)Gravatar Hassan Abouelela2021-10-17-3/+8
| | | | | | | | | | | | Fixes a test that fails on Windows due to differing path separators. This is currently the only failing test. Signed-off-by: Hassan Abouelela <[email protected]>
| * FAQ: Update reference to #dev-brandingGravatar Hedy Li2021-10-17-1/+1
| | | | | | | | | | | | | | | | Ref: https://discord.com/channels/267624335836053506/429409067623251969/896753201645232169 I think it should be updated so newer members won't get confused when they don't see a #media-branding.
* | Fix typos in contributing guidesGravatar Hedy Li2021-10-18-4/+4
| | | | | | | | | | - succint -> succinct - seperated -> separated
* | Fix typos across codebaseGravatar Hedy Li2021-10-17-6/+6
|/ | | | | | | | | | | | | | | | | | | | ./pydis_site/apps/resources/resources/tools/ides/thonny.yaml:1: specifically ./pydis_site/apps/content/resources/guides/pydis-guides/helping-others.md:115: considered ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/issues.md:59 labels ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md:99: recommend ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md:111: particularly ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:29: Integer ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:67: calculating ./pydis_site/apps/api/tests/test_off_topic_channel_names.py:157: response I didn't touch the code jam and game jam typos because I'm not sure if they should be preserved as is. There were a few 'seperated' typos which I didn't change because I *think* it's just another way of spelling it? In the offensive words test there was a keyword argument named `fied` which I didn't touch because I wasn't sure where that was from.
* Remove stray `#` in bot guideGravatar Boris Muratov2021-10-17-1/+1
|
* Merge branch 'main' into new-ban-appeals-processGravatar ChrisJL2021-10-17-155/+710
|\
| * Fix typo in bot guideGravatar Boris Muratov2021-10-17-1/+1
| |
| * Restructure bot contributing guide (#591)Gravatar Boris Muratov2021-10-17-140/+654
| | | | | | | | | | | | | | | | | | | | | | | | | | * Restructure bot contributing guide Restructures the bot guide to focus on getting users "through the door" first, and slowly adding additional information and options. The guide is built in terms of showing ways to run the bot and how to achieve it, rather than listing all of the information for each configuration and environment variable right away. That said, the attempt was to still present the reader with the full information they need, and to still be able to use as a quick reference for contributors who are already familiar with the project. As a style choice, this guide incorporates collapsible elements, which required some CSS and JS additions. This could be resolved with the bulma-collapsible extension, but it doesn't seem to function well inside django templates. The guide includes an optional config.yml to use with the test server template. This is a temporary measure until we get the bootstrapping application going. This guide additionally splits the bot account creation and obtaining Discord ID's guides and they didn't seem related. The original file is kept for now as it is used by other guides at the moment.
| * Adds Static Route ConfigurationsGravatar Hassan Abouelela2021-10-10-3/+40
| | | | | | | | | | Adds configuration which specifies how routes should be handled when building a static preview.
| * Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-10-06-3/+12
| |\
| | * Merge branch 'main' into fix-http-linksGravatar ChrisJL2021-10-06-0/+9
| | |\
| | | * Merge Gitpod Docs (#594)Gravatar Kronifer2021-10-05-0/+9
| | | | | | | | | | | | docs: Added site documentation for editing on Gitpod
| | * | Switches HTTP Links To HTTPSGravatar Hassan Abouelela2021-10-06-3/+3
| | |/ | | | | | | | | | | | | | | | | | | Switches the protocol for external sites where possible. Some sites don't have secure versions, and were skipped. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Merge branch 'main' into subdomains-to-query-pathsGravatar Joe Banks2021-08-31-2/+2
| |\|
| * | Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-07-08-2/+37
| |\ \
| * | | Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In more detail: - Use Django URL namespaces (e.g. `api:bot:infractions`) instead of `django_hosts` host argument. - Update the hosts file setup documentation to remove subdomain entries. - Update the hosts file setup documentation to mention that the entry of `pythondiscord.local` is not required and mainly for convenience. - Rename the `APISubdomainTestCase` to the more fitting `AuthenticatedAPITestCase`, as authentication is all that is left that the class is doing. - Drop dependency to `django_hosts`.
* | | | Direct appeals to the appeals serverGravatar Chris Lovering2021-09-24-2/+5
| |_|/ |/| | | | | | | | Rather than mentioning the apeals email address, we now direct users to the appeal server, which will now be used for ban appeals.
* | | Merge branch 'main' into fix-docker-linkGravatar ChrisJL2021-07-16-1/+1
|\ \ \
| * | | Documents expected emoji formatGravatar onerandomusername2021-07-15-1/+1
| | |/ | |/|
* / | Fixes Broken Doc LinkGravatar Hassan Abouelela2021-07-15-1/+1
|/ / | | | | | | | | | | Fixes a local link that points to a non-existent resource. Signed-off-by: Hassan Abouelela <[email protected]>
* | Address review comments.Gravatar Johannes Christ2021-06-07-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Link detail section in environment variables section. - Update old static path from pre-Docker environment times and mention the Docker setup. diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md index 8c21b5b0..24227f24 100644 --- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md +++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md @@ -79,6 +79,9 @@ SECRET_KEY=suitable-for-development-only STATIC_ROOT=staticfiles ``` +The [Configuration in Detail](#configuration-in-detail) section contains +detailed information about these settings. + #### Notes regarding `DATABASE_URL` - If the database is hosted locally i.e. on the same machine as the webserver, then use `localhost` for the host. Windows and macOS users may need to use the [Docker host IP](../hosts-file/#windows) instead. @@ -173,5 +176,6 @@ The website is configured through the following environment variables: - **`SECRET_KEY`**: The secret key used in various parts of Django. Keep this secret as the name suggests! This is managed for you in debug setups. -- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic` collects - static files. Optional, defaults to `/var/www/pythondiscord.com`. +- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic` + collects static files. Optional, defaults to `/app/staticfiles` for the + standard Docker deployment.
* | Move configuration section to site contributing guide.Gravatar Johannes Christ2021-06-06-0/+32
|/
* Fix `content` app tests not running on macOS (#519)Gravatar Johannes Christ2021-06-06-41/+51
| | | | | | | | | | | macOS uses `/var/...` as its temp directory, causing issues with the hardcoded usage of `/tmp` as the temporary directory. Therefore, relying on tmp is not portable. Populating the true temporary directory is redundant and may cause more problems because of nested directories. Move the fake content under a subdirectory to avoid this issue. Co-authored-by: MarkKoz <[email protected]>
* Fix incorrect markdown link.Gravatar kosayoda2021-06-06-1/+1
|
* Include metricity db creation for local setup guide.Gravatar Johannes Christ2021-06-05-0/+1
| | | | | This is later mentioned in the connection string, but in the local setup, the SQL statement to create the database was missing.
* table of contents updatedGravatar Soham Banerjee2021-05-31-2/+2
|
* command line instructions moved upGravatar Soham Banerjee2021-05-31-23/+28
|
* chore: Update guides to use poetry instead of pipenvGravatar ToxicKidz2021-05-22-7/+7
|
* Update FAQ to clarify file types allowedGravatar Janine vN2021-05-18-0/+2
| | | | | | Added in wording to clarify why we don't support the discord .txt, .py, and similar file types even though it has preview available for them.
* Update project dep guide to only reference poetryGravatar Chris2021-05-17-13/+7
|
* Merge branch 'main' into reword-contrib-guidesGravatar ChrisJL2021-05-16-31/+43
|\
| * Merge branch 'main' into update/sir-lancebot-env-varsGravatar Joe Banks2021-05-16-19/+26
| |\
| | * Migrates Sir Lancebot And Python To PoetryGravatar Hassan Abouelela2021-05-16-12/+18
| | | | | | | | | | | | | | | | | | Updates the Python and Sir Lancebot guides to use poetry. Updates the dependency guide to include poetry, and explain when each dependency manager should be used.
| | * Fixes Broken Images In Dependency GuideGravatar Hassan Abouelela2021-05-16-7/+8
| | |
| * | chore: Update sir-lancebot's env var referenceGravatar ToxicKidz2021-05-16-1/+5
| |/
| * Replace references to Zoot with Dave, per the rebranding of that bot.Gravatar swfarnsworth2021-05-15-3/+2
| |
| * Fix typo; 'be come' -> 'become'Gravatar swfarnsworth2021-05-15-1/+1
| |