-
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 robin/edit-interview-availability-page
- Loading branch information
Showing
101 changed files
with
1,811 additions
and
290 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
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,58 @@ | |
|
||
<img src="./docs/splash.png"/> | ||
|
||
## Documentation | ||
## Introduction | ||
|
||
- **[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) | ||
Samfundet4 is the latest and greatest iteration of samfundet.no. It's built using Django and React. | ||
|
||
|
||
## Documentation Overview | ||
|
||
> [!TIP] | ||
> If you're new, start by going through the [Introduction to Samfundet4](./docs/introduction.md) guide. | ||
## Installation | ||
### Frontend | ||
|
||
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). | ||
- [Creating react components (conventions)](./docs/technical/frontend/components.md) | ||
- [Forms and schemas](./docs/technical/frontend/forms.md) | ||
- [*Deprecated: SamfForm*](./docs/technical/frontend/samfform.md) | ||
- [Cypress Setup Documentation](./docs/technical/frontend/cypress.md) | ||
- [Data fetching and State management](./docs/technical/frontend/data-fetching.md) | ||
|
||
Copy these commands (press button on the right-hand side of the block) | ||
and run from the directory you would clone the project. | ||
### Backend | ||
|
||
```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; | ||
``` | ||
- [🌐 API documentation](./docs/api-docs.md) | ||
- [Billig (payment system)](./docs/technical/backend/billig.md) | ||
- [Seed scripts](./docs/technical/backend/seed.md) | ||
- [Role system](./docs/technical/backend/rolesystem.md) | ||
|
||
### Other | ||
|
||
- [Automatic Interview Scheduling](./docs/intervew-scheduling.md) | ||
|
||
### Workflow | ||
|
||
<details> | ||
<summary>Non-interactive (show/hide)</summary> | ||
- [Work Methodology](./docs/work-methodology.md) | ||
- How to contribute to the project | ||
- [Useful Commands](./docs/useful-commands.md) | ||
- [Useful Docker aliases](./docs/docker-project-specific-commands.md) | ||
- [Common error messages](./docs/common-errors.md) | ||
|
||
```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; | ||
``` | ||
### Pipelines & Deployment | ||
|
||
<!-- | ||
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> | ||
- [Pipeline (mypy, Biome, tsc, ...)](./docs/technical/pipeline.md) | ||
|
||
<details> | ||
<summary>Flags explained (show/hide)</summary> | ||
### Install | ||
|
||
> - 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 | ||
- Linux: [Docker](./docs/install/linux-docker.md) – [Native](./docs/install/linux-native.md) | ||
- MacOS: [Docker](./docs/install/mac-docker.md) – [Native](./docs/install/mac-native.md) | ||
- Windows: [Docker](./docs/install/windows-docker.md) – [WSL](./docs/install/windows-wsl.md) | ||
- [Install script](./docs/install/install-script.md) | ||
- [Post-install instructions](./docs/install/post-install.md) | ||
|
||
</details> | ||
### Editor configuration | ||
|
||
<br> | ||
<br> | ||
<br> | ||
* [JetBrains (WebStorm, PyCharm, etc...)](./docs/editors/jetbrains.md) | ||
* [VS Code](./docs/editors/vscode.md) | ||
* [Vim/Neovim](./docs/editors/vim.md) | ||
* [Emacs](./docs/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 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
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.
Oops, something went wrong.