aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Add initial git cheatsheetbootcamp-updatesGravatar Janine vN2021-06-28-0/+135
| | | | | | | This adds the initial cheatsheet from the Git and GitHub Bootcamp. This is just a baseline commit and this cheatsheet needs more resources added as well as the overall layout should be adjusted as needed.
* Hyperlink code jam banner to code jam page.Gravatar lemonsaurus2021-06-27-2/+6
|
* Update banners to have vertically centered text.Gravatar lemonsaurus2021-06-27-0/+0
|
* Put Summer Code Jam '21 banner on the front page.Gravatar lemonsaurus2021-06-27-10/+7
|
* Add some new Summer Code Jam banners.Gravatar lemonsaurus2021-06-27-0/+0
|
* Move existing code jam assets into a folder.Gravatar lemonsaurus2021-06-27-9/+9
|
* Merge branch 'main' into move-config-docs-to-contributing-guideGravatar Kieran Siek2021-06-27-41/+480
|\
| * Merge branch 'main' into fix-nitro-messageGravatar Matteo Bertucci2021-06-24-4/+4
| |\
| | * Merge branch 'main' into jb3/navbar-spansGravatar ToxicKidz2021-06-23-24/+157
| | |\
| | * | Update navbar hamburger/dropdown anchors to spansGravatar Joe Banks2021-06-21-4/+4
| | | | | | | | | | | | There is no href on these items, so they should not be anchors.
| * | | Recreate nitro message length migration and name itGravatar bast2021-06-24-2/+2
| | | |
| * | | Merge remote-tracking branch 'upstream/main' into fix-nitro-messageGravatar bast2021-06-24-24/+157
| |\ \ \ | | | |/ | | |/|
| | * | Fix typosGravatar Janine vN2021-06-23-2/+2
| | | |
| | * | Change time to UTCGravatar Janine vN2021-06-23-1/+1
| | | |
| | * | Updating bootcamp informationGravatar Janine vN2021-06-23-9/+14
| | | | | | | | | | | | | | | | Adds time and more information about the GitHub bootcamp.
| | * | Update git bootcamp dateGravatar Boris Muratov2021-06-23-1/+1
| | | |
| | * | Merge remote-tracking branch 'origin/cj8-qualifier-release' into ↵Gravatar Janine2021-06-21-19/+21
| | |\ \ | | | | | | | | | | | | | | | cj8-qualifier-release
| | | * \ Merge branch 'main' into cj8-qualifier-releaseGravatar Joe Banks2021-06-21-19/+21
| | | |\ \
| | | | * | Remove RLBot from Communities listGravatar Joe Banks2021-06-21-13/+0
| | | | | |
| | | | * | Use BigInt for permissions field and remove max value validatorGravatar Chris2021-06-18-6/+21
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | BigInt is needed as Discord's permissions number now exceeds that which can be stored in a normal int. I have removed the max value validator, as this just adds maintanence burden for us each time Discord adds new permissions.
| | * | | Clarify prize detailsGravatar Janine vN2021-06-21-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Clarify that each member of a winning team gets one of the licenses as a prize. They don't have to Lord of Flies duel it out.
| | * | | Spell GitHub's name correctlyGravatar Janine vN2021-06-21-1/+1
| | |/ / | | | | | | | | | | | | One day I'll spell GitHub correctly and consistently. One day...
| | * | Update qualifier repo and sign-up linkGravatar Janine vN2021-06-21-3/+3
| | | |
| | * | Adds Prizes section to CJ8 pageGravatar Janine vN2021-06-20-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a Prizes section to the Code Jam 8 page. Links, descriptions, and a quick summation of the prizes offered by each sponsor is included. The Python Discord prizes should also be included at a later date.
| | * | Add Tabnine as a sponsorGravatar Janine vN2021-06-20-0/+3
| | | | | | | | | | | | | | | | Adds tabnine as a sponsor on the events sidebar.
| | * | Add in information about the QualifierGravatar Janine vN2021-06-20-5/+22
| | | | | | | | | | | | | | | | | | | | This adds in a section about the qualifier and links to it and the sign-up form.
| | * | Adding GitHub Bootcamp InformationGravatar Janine vN2021-06-20-0/+41
| | |/ | | | | | | | | | | | | | | | This commit adds some basic information about the github bootcamp. More information should and will be added later, but this adds some of the basics and adds it to the sidebar.
| * | Add pragma: no cover to mark failure condition of test as known okGravatar bast2021-06-24-1/+1
| | |
| * | Adjust Message model to support new nitro messages with over 4000 charsGravatar bast2021-06-18-2/+58
| |/
| * Approve more frameworksGravatar Janine vN2021-06-15-0/+19
| | | | | | | | | | | | | | Python Prompt Toolkit is added as an approved framework. Unicurses and nurses are added as additional frameworks you can use with curses, although it's a use at your own risk and no promises are made for functionality or stability.
| * Fix error_page stylesheet (#531)Gravatar Fares Ahmed2021-06-15-1/+1
| |
| * Code Jam 8 Site Updates - v2 (#530)Gravatar Janine vN2021-06-15-21/+26
| | | | | | Co-authored-by: Joe Banks <[email protected]>
| * Code Jam 8 - Initial PR for Announcement (#528)Gravatar Janine vN2021-06-15-5/+229
| |
| * Added Cloudflare to Sponsors list (#527)Gravatar Kronifer2021-06-10-0/+2
| |
* | 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
|
* Merge branch 'main' into include-metricity-db-creation-for-local-setupGravatar Kieran Siek2021-06-05-1/+4
|\
| * Update `IntegrityError` pattern for PostgreSQL 13.Gravatar Johannes Christ2021-06-04-1/+4
| | | | | | | | | | | | | | A more specific error is raised on higher PostgreSQL versions, for example, as with the PostgreSQL version running on my local machine. This commit fixes the error message pattern matching behaviour by adding an optional match to the detailed error message.
* | 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.
* Merge branch 'main' into bast0006-new-infraction-filtersGravatar ChrisJL2021-06-04-32/+40
|\
| * table of contents updatedGravatar Soham Banerjee2021-05-31-2/+2
| |
| * command line instructions moved upGravatar Soham Banerjee2021-05-31-23/+28
| |
| * Merge branch 'main' into update/docs-pipenv-to-poetryGravatar Matteo Bertucci2021-05-27-1/+4
| |\
| | * Authenticate with the github api to avoid rate limitsGravatar Chris2021-05-23-1/+4
| | |
| * | chore: Update guides to use poetry instead of pipenvGravatar ToxicKidz2021-05-22-7/+7
| |/
* | Ensure bot/infractions does not accept both expires and permanent filtersGravatar bast2021-05-30-0/+47
| | | | | | | | Expires and permanent=false are permitted and tested for. Expires_before also filters the database for permanent=false explicitly
* | Fix bot/infractions after and before filter check being invertedGravatar bast2021-05-30-4/+17
| | | | | | | | | | The check was backwards, enforcing that no results must ever be returned Relevant tests have been added that actually fetch an infraction with the right times so that I'm sure it's not still broken
* | Raise ValidationError for new bot/infractions filter if the types are invalidGravatar bast2021-05-30-0/+35
| | | | | | | | If the before time is after the after time, or if both `type` and `types` are specified