mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-17 11:11:49 +02:00
Compare commits
3 commits
d3a9ef0242
...
57b5f1155b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
57b5f1155b | ||
![]() |
19c4a0b6ed | ||
![]() |
9589bcf48d |
6 changed files with 10 additions and 6 deletions
|
@ -6,7 +6,7 @@ started.
|
||||||
The first step is to clone the project, you can find more information about that in
|
The first step is to clone the project, you can find more information about that in
|
||||||
the [getting started guide](../install.md). Once that's done, you can:
|
the [getting started guide](../install.md). Once that's done, you can:
|
||||||
|
|
||||||
- choose a task [on the board](https://gitlab.com/la-chariotte/la_chariotte/-/boards) and assign it to
|
- choose a task [on the board](https://framagit.org/la-chariotte/la-chariotte/-/boards) and assign it to
|
||||||
yourself - if you don't know which task to do, feel free to reach to
|
yourself - if you don't know which task to do, feel free to reach to
|
||||||
us.
|
us.
|
||||||
- create a new branch **from develop** naming it to reflect what you want to do
|
- create a new branch **from develop** naming it to reflect what you want to do
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
- **docs.chariotte.fr**, the docs you are reading now. It's handled by [readthedocs.org](https://readthedocs.org).
|
- **docs.chariotte.fr**, the docs you are reading now. It's handled by [readthedocs.org](https://readthedocs.org).
|
||||||
- **chariotte.fr**, the main instance. It's deployed on Alwaysdata
|
- **chariotte.fr**, the main instance. It's deployed on Alwaysdata
|
||||||
- **blog.chariotte.fr**, our blog. It's [a static website](https://gitlab.com/la-chariotte/la-chariotte.gitlab.io) deployed on Gitlab pages.
|
- **blog.chariotte.fr**, our blog. It's [a static website](https://framagit.org/la-chariotte/la-chariotte.frama.io) deployed on Gitlab pages.
|
||||||
|
|
||||||
## The main instance
|
## The main instance
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
First, clone the project
|
First, clone the project
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git@gitlab.com:la-chariotte/la_chariotte.git
|
git clone https://framagit.org/la-chariotte/la-chariotte.git
|
||||||
```
|
```
|
||||||
|
|
||||||
## Virtual environment
|
## Virtual environment
|
||||||
|
|
|
@ -22,4 +22,7 @@ def send_order_confirmation_mail(order):
|
||||||
from_email = settings.DEFAULT_FROM_EMAIL
|
from_email = settings.DEFAULT_FROM_EMAIL
|
||||||
to = order.author.email
|
to = order.author.email
|
||||||
|
|
||||||
mail.send_mail(subject, plain_message, from_email, [to], html_message=html_message)
|
if settings.EMAIL_ENABLE:
|
||||||
|
mail.send_mail(
|
||||||
|
subject, plain_message, from_email, [to], html_message=html_message
|
||||||
|
)
|
||||||
|
|
|
@ -7,7 +7,7 @@ from sentry_sdk.integrations.django import DjangoIntegration
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
BASE_URL = os.getenv("BASE_URL", "http://127.0.0.1:8000")
|
BASE_URL = os.getenv("BASE_URL", "http://127.0.0.1:8000")
|
||||||
PROJECT_NAME = os.getenv("PROJECT_NAME", "La Chariotte")
|
PROJECT_NAME = os.getenv("PROJECT_NAME", "La Chariotte")
|
||||||
GITLAB_LINK = "https://gitlab.com/la-chariotte/la_chariotte"
|
GITLAB_LINK = "https://framagit.org/la-chariotte/la-chariotte"
|
||||||
CONTACT_MAIL = "contact@chariotte.fr"
|
CONTACT_MAIL = "contact@chariotte.fr"
|
||||||
HELLOASSO_LINK = "https://www.helloasso.com/associations/la-chariotte/"
|
HELLOASSO_LINK = "https://www.helloasso.com/associations/la-chariotte/"
|
||||||
FEEDBACK_LINK = "https://framaforms.org/votre-avis-sur-la-chariotte-1709742328"
|
FEEDBACK_LINK = "https://framaforms.org/votre-avis-sur-la-chariotte-1709742328"
|
||||||
|
@ -174,6 +174,7 @@ if SENTRY_DSN:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Email settings
|
# Email settings
|
||||||
|
EMAIL_ENABLE = True
|
||||||
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
|
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
|
||||||
EMAIL_HOST = os.getenv("EMAIL_HOST")
|
EMAIL_HOST = os.getenv("EMAIL_HOST")
|
||||||
EMAIL_PORT = int(os.getenv("EMAIL_PORT", "587"))
|
EMAIL_PORT = int(os.getenv("EMAIL_PORT", "587"))
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
site_name: La chariotte
|
site_name: La chariotte
|
||||||
site_description: An application for grouped-orders
|
site_description: An application for grouped-orders
|
||||||
repo_name: la-chariotte/la_chariotte
|
repo_name: la-chariotte/la_chariotte
|
||||||
repo_url: https://gitlab.com/la-chariotte/la_chariotte
|
repo_url: https://framagit.org/la-chariotte/la-chariotte
|
||||||
nav:
|
nav:
|
||||||
- How-tos:
|
- How-tos:
|
||||||
- Getting started: install.md
|
- Getting started: install.md
|
||||||
|
|
Loading…
Reference in a new issue