-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 1480-mandatory-occupied-time-field
- Loading branch information
Showing
73 changed files
with
1,252 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,55 +2,10 @@ | |
|
||
<img src="./docs/splash.png"/> | ||
|
||
## Documentation | ||
|
||
- **[Technical Documentation](./docs/technical/README.md)** | ||
- [Work Methodology](./docs/work-methodology.md) | ||
- [Useful Commands](./docs/useful-commands.md) | ||
- [Technologies used on Samf4 🤖](./docs/technical/Samf4Tech.md) | ||
- [Project Specific Commands](./docs/docker-project-specific-commands.md) | ||
- [Useful Docker aliases](./docs/docker-project-specific-commands.md) | ||
- [🌐 API documentation](./docs/api-docs.md) | ||
|
||
## Installation | ||
|
||
We have a script that handles all installation for you. To run the script, a Github Personal Access Token (PAT) is required. | ||
You can make one here https://github.com/settings/tokens/new. Tick scopes `repo`, `read:org` and `admin:public_key`), | ||
then store the token somewhere safe (Github will never show it again). | ||
|
||
Copy these commands (press button on the right-hand side of the block) | ||
and run from the directory you would clone the project. | ||
|
||
```sh | ||
# Interactive | ||
read -s -p "Github PAT token: " TOKEN ; X_INTERACTIVE=y /bin/bash -c "$(curl -fsSL https://$TOKEN@raw.githubusercontent.com/Samfundet/Samfundet4/master/{bash_utils.sh,install.sh})" && . ~/.bash_profile && cd Samfundet4; unset TOKEN; unset X_INTERACTIVE; | ||
``` | ||
## Introduction | ||
|
||
<details> | ||
<summary>Non-interactive (show/hide)</summary> | ||
Samfundet4 is the latest and greatest iteration of samfundet.no. It's built using Django and React. | ||
|
||
```sh | ||
# Non-interactive | ||
read -s -p "Github PAT token: " TOKEN ; X_INTERACTIVE=n /bin/bash -c "$(curl -fsSL https://$TOKEN@raw.githubusercontent.com/Samfundet/Samfundet4/master/{bash_utils.sh,install.sh})" && . ~/.bash_profile && cd Samfundet4; unset TOKEN; unset X_INTERACTIVE; | ||
``` | ||
|
||
<!-- | ||
cd ~/my-projects/test; rm -rf Samfundet4; read -s -p "Github PAT token: " TOKEN ; X_INTERACTIVE=y /bin/bash -c "$(curl -fsSL https://[email protected]/Samfundet/Samfundet4/master/{bash_utils.sh,install.sh})" && . ~/.bash_profile && cd Samfundet4; unset TOKEN; unset X_INTERACTIVE; | ||
--> | ||
</details> | ||
|
||
<details> | ||
<summary>Flags explained (show/hide)</summary> | ||
|
||
> - X_INTERACTIVE (y/n): determines how many prompts you receive before performing an action. | ||
> curl: | ||
> - -f: fail fast | ||
> - -s: silent, no progress-meter | ||
> - -S: show error on fail | ||
> - -L: follow redirect | ||
</details> | ||
## Documentation | ||
|
||
<br> | ||
<br> | ||
<br> | ||
Looking for install guides and technical documentation? Go to the [Documentation Overview](./docs/README.md)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
backend/samfundet/migrations/0010_recruitment_promo_media.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 5.1.1 on 2024-10-31 19:56 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('samfundet', '0009_recruitmentpositionsharedinterviewgroup_name_en_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='recruitment', | ||
name='promo_media', | ||
field=models.CharField(blank=True, default=None, help_text='Youtube video id', max_length=11, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[**← Back: Samfundet4**](../) | ||
|
||
# Documentation Overview | ||
|
||
> [!TIP] | ||
> If you're new, start by going through the [Introduction to Samfundet4](./introduction.md) guide. | ||
## Frontend | ||
|
||
- [Creating react components (conventions)](./technical/frontend/components.md) | ||
- [Forms and schemas](./technical/frontend/forms.md) | ||
- [*Deprecated: SamfForm*](./technical/frontend/samfform.md) | ||
- [Cypress Setup Documentation](./technical/frontend/cypress.md) | ||
- [Data fetching and State management](./technical/frontend/data-fetching.md) | ||
|
||
## Backend | ||
|
||
- [🌐 API documentation](./api-docs.md) | ||
- [Billig (payment system)](./technical/backend/billig.md) | ||
- [Seed scripts](./technical/backend/seed.md) | ||
- [Role system](./technical/backend/rolesystem.md) | ||
|
||
## Other | ||
|
||
- [Automatic Interview Scheduling](./intervew-scheduling.md) | ||
|
||
## Workflow | ||
|
||
- [Work Methodology](./work-methodology.md) | ||
- How to contribute to the project | ||
- [Useful Commands](./useful-commands.md) | ||
- [Useful Docker aliases](./docker-project-specific-commands.md) | ||
- [Common error messages](./common-errors.md) | ||
|
||
## Pipelines & Deployment | ||
|
||
- [Pipeline (mypy, Biome, tsc, ...)](./technical/pipeline.md) | ||
|
||
## Install | ||
|
||
- Linux: [Docker](./install/linux-docker.md) – [Native](./install/linux-native.md) | ||
- MacOS: [Docker](./install/mac-docker.md) – [Native](./install/mac-native.md) | ||
- Windows: [Docker](./install/windows-docker.md) – [WSL](./install/windows-wsl.md) | ||
- [Install script](./install/install-script.md) | ||
- [Post-install instructions](./install/post-install.md) | ||
|
||
## Editor configuration | ||
|
||
* [JetBrains (WebStorm, PyCharm, etc...)](./editors/jetbrains.md) | ||
* [VS Code](./editors/vscode.md) | ||
* [Vim/Neovim](./editors/vim.md) | ||
* [Emacs](./editors/emacs.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.