mirror of
https://github.com/django-components/django-components.git
synced 2025-11-25 08:21:20 +00:00
refactor: change repo name and URL after org migration (#924)
This commit is contained in:
parent
ace9194733
commit
92f5497c74
34 changed files with 134 additions and 119 deletions
|
|
@ -5,9 +5,9 @@ weight: 5
|
|||
|
||||
## Community questions
|
||||
|
||||
The best place to ask questions is in our [Github Discussion board](https://github.com/EmilStenstrom/django-components/discussions).
|
||||
The best place to ask questions is in our [Github Discussion board](https://github.com/django-components/django-components/discussions).
|
||||
|
||||
Please, before opening a new discussion, [check if similar discussion wasn't opened already](https://github.com/EmilStenstrom/django-components/discussions?discussions_q=).
|
||||
Please, before opening a new discussion, [check if similar discussion wasn't opened already](https://github.com/django-components/django-components/discussions?discussions_q=).
|
||||
|
||||
## Community examples
|
||||
|
||||
|
|
|
|||
|
|
@ -23,5 +23,5 @@ so come aboard!
|
|||
|
||||
## Sponsoring
|
||||
|
||||
Another way you can get involved is by [donating](https://github.com/sponsors/EmilStenstrom)
|
||||
Another way you can get involved is by [donating](https://github.com/django-components/django-components)
|
||||
to the development of django_components.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ weight: 7
|
|||
|
||||
## Install locally and run the tests
|
||||
|
||||
Start by forking the project by clicking the **Fork button** up in the right corner in the [GitHub](https://github.com/EmilStenstrom/django-components).
|
||||
Start by forking the project by clicking the **Fork button** up in the right corner in the [GitHub](https://github.com/django-components/django-components).
|
||||
This makes a copy of the repository in your own name. Now you can clone this repository locally and start adding features:
|
||||
|
||||
```sh
|
||||
|
|
@ -58,15 +58,15 @@ tox
|
|||
|
||||
How do you check that your changes to django-components project will work in an actual Django project?
|
||||
|
||||
Use the [sampleproject](https://github.com/EmilStenstrom/django-components/tree/master/sampleproject/) demo project to validate the changes:
|
||||
Use the [sampleproject](https://github.com/django-components/django-components/tree/master/sampleproject/) demo project to validate the changes:
|
||||
|
||||
1. Navigate to [sampleproject](https://github.com/EmilStenstrom/django-components/tree/master/sampleproject/) directory:
|
||||
1. Navigate to [sampleproject](https://github.com/django-components/django-components/tree/master/sampleproject/) directory:
|
||||
|
||||
```sh
|
||||
cd sampleproject
|
||||
```
|
||||
|
||||
2. Install dependencies from the [requirements.txt](https://github.com/EmilStenstrom/django-components/blob/master/sampleproject/requirements.txt) file:
|
||||
2. Install dependencies from the [requirements.txt](https://github.com/django-components/django-components/blob/master/sampleproject/requirements.txt) file:
|
||||
|
||||
```sh
|
||||
pip install -r requirements.txt
|
||||
|
|
@ -138,7 +138,7 @@ To publish the package to PyPI, use `twine` ([See Python user guide](https://pac
|
|||
twine upload --repository pypi dist/* -u __token__ -p <PyPI_TOKEN>
|
||||
```
|
||||
|
||||
[See the full workflow here.](https://github.com/EmilStenstrom/django-components/discussions/557#discussioncomment-10179141)
|
||||
[See the full workflow here.](https://github.com/django-components/django-components/discussions/557#discussioncomment-10179141)
|
||||
|
||||
## Development guides
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ _It is strongly recommended to read this section before using django-components
|
|||
|
||||
## Static files
|
||||
|
||||
**TL;DR: No action needed from v0.100 onwards. Before v0.100, use `safer_staticfiles` to avoid exposing backend logic.**
|
||||
|
||||
Components can be organized however you prefer.
|
||||
That said, our prefered way is to keep the files of a component close together by bundling them in the same directory.
|
||||
|
||||
|
|
@ -68,6 +70,6 @@ python manage.py runserver
|
|||
```
|
||||
|
||||
For a step-by-step guide on deploying production server with static files,
|
||||
[see the demo project](https://github.com/EmilStenstrom/django-components/tree/master/sampleproject).
|
||||
[see the demo project](https://github.com/django-components/django-components/tree/master/sampleproject).
|
||||
|
||||
See the older versions of the sampleproject for a setup with pre-v0.100 version.
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ title: Welcome to Django Components
|
|||
weight: 1
|
||||
---
|
||||
|
||||
<img src="https://raw.githubusercontent.com/EmilStenstrom/django-components/master/logo/logo-black-on-white.svg" alt="django-components" style="max-width: 100%; background: white; color: black;">
|
||||
<img src="https://raw.githubusercontent.com/django-components/django-components/master/logo/logo-black-on-white.svg" alt="django-components" style="max-width: 100%; background: white; color: black;">
|
||||
|
||||
[](https://pypi.org/project/django-components/) [](https://pypi.org/project/django-components/) [](https://github.com/EmilStenstrom/django-components/blob/master/LICENSE/) [](https://pypistats.org/packages/django-components) [](https://github.com/EmilStenstrom/django-components/actions/workflows/tests.yml)
|
||||
[](https://pypi.org/project/django-components/) [](https://pypi.org/project/django-components/) [](https://github.com/django-components/django-components/blob/master/LICENSE/) [](https://pypistats.org/packages/django-components) [](https://github.com/django-components/django-components/actions/workflows/tests.yml)
|
||||
|
||||
django-components introduces component-based architecture to Django's server-side rendering.
|
||||
It combines Django's templating system with the modularity seen in modern frontend frameworks like Vue or React.
|
||||
|
|
@ -133,7 +133,7 @@ And this is what gets rendered:
|
|||
|
||||
Read on to learn about all the exciting details and configuration possibilities!
|
||||
|
||||
(If you instead prefer to jump right into the code, [check out the example project](https://github.com/EmilStenstrom/django-components/tree/master/sampleproject))
|
||||
(If you instead prefer to jump right into the code, [check out the example project](https://github.com/django-components/django-components/tree/master/sampleproject))
|
||||
|
||||
## Release notes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue