-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from LBlend/dev
Separate frontend & backend into different repos + rewrite
- Loading branch information
Showing
64 changed files
with
637 additions
and
17,954 deletions.
There are no files selected for viewing
File renamed without changes.
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 @@ | ||
* text=auto |
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 |
---|---|---|
@@ -1,15 +1,41 @@ | ||
# Norsk 🇳🇴 | ||
|
||
## Hva er galt? | ||
Forklar hva som skjer. Inkluder gjerne bilder/videoer | ||
|
||
Forklar hva som skjer. Inkluder gjerne bilder/videoer | ||
|
||
## Hvordan oppstår feilen? | ||
|
||
Forklar hvordan man kan reprodusere feilen. | ||
|
||
## Systeminfo | ||
- Enhet: | ||
- Operativsystem: | ||
- Nettleser (med versjonnummer): | ||
|
||
- Enhet: | ||
- Operativsystem: | ||
- Nettleser (med versjonnummer): | ||
- Tidspunkt: | ||
|
||
## Annet | ||
|
||
Skriv hva enn du føler er relevant her. | ||
|
||
# English 🇬🇧 | ||
|
||
## What's the issue? | ||
|
||
Try to explain what error or issue occurs. Pictures/Videos are appreciated | ||
|
||
## Is the issue reproducible? | ||
|
||
If so, explain how. | ||
|
||
## Systeminfo | ||
|
||
- Device: | ||
- Operating System | ||
- Web browser (including version number): | ||
- Time of issue: | ||
|
||
## Additional notes | ||
|
||
If there's anything else that's relevant, let us know. |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,17 @@ | ||
# Bidragsguide | ||
# 🇳🇴 Norsk | ||
|
||
[English](CONTRIBUTING-en.md) | ||
## Bidragssguide | ||
|
||
## Generelt | ||
- Sorter imports i alfabetisk rekkefølge | ||
- Følg pep8 | ||
- Autoformatér koden med black | ||
- Om du legger til noen nye avhengigheter så skal disse fryses til nyeste støttede versjon | ||
|
||
Snart™ | ||
# 🇬🇧 English | ||
|
||
## Back-end | ||
## Contribution guidelines | ||
|
||
All python kode må følge følgende konvesjoner: | ||
|
||
* PEP8, men hvor maks antall tegn per linje er 120. | ||
* Alle strings skal bruke enkle anførselstegn, altså `'`. Unntaket er om det er en string inni en string. | ||
* Filer, variabler og funksjonsnavn skal bruke snake_case. | ||
|
||
|
||
## Front-end | ||
|
||
* Følg [standardJS](https://standardjs.com/) sine konvensjoner. | ||
|
||
|
||
## Annet | ||
|
||
* Docker-relaterte filer skal bruke doble anførselstegn, altså `"`. | ||
- Sort imports by alphabetical order | ||
- Make sure your code falls in line with pep8 | ||
- Format your code with black | ||
- Make sure to pin dependencies to the latest supported version if you add any |
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,11 @@ | ||
FROM python:3.10 | ||
|
||
WORKDIR /code | ||
|
||
COPY . /code | ||
|
||
RUN chmod +x /code/build.sh | ||
|
||
RUN /code/build.sh | ||
|
||
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "5000", "--proxy-headers"] |
Oops, something went wrong.