-
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.
Add devcontainers config and rename repo
- Loading branch information
Showing
7 changed files
with
48 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "Miniconcrexit", | ||
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers-contrib/features/poetry:2": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-python.black-formatter", | ||
"batisteo.vscode-django" | ||
] | ||
} | ||
}, | ||
"postCreateCommand": "poetry install", | ||
"forwardPorts": [ | ||
8000 | ||
] | ||
} |
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,4 +1,6 @@ | ||
/website/db.sqlite3 | ||
/website/static/ | ||
/website/media/ | ||
*.pyc | ||
*.pyc | ||
|
||
.DS_Store |
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,14 @@ | ||
{ | ||
"python.analysis.autoImportCompletions": true, | ||
"python.analysis.extraPaths": [ | ||
"website" | ||
], | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit" | ||
}, | ||
"editor.formatOnType": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ of a large codebase. | |
|
||
There is an example issue that you can try to implement in this project. It is a realistic | ||
issue that could even one day be implemented in the real concrexit. You can find the issue | ||
here: [#1](https://github.com/svthalia/hello-concrexit-tutorial/issues/1). | ||
here: [#1](https://github.com/svthalia/miniconcrexit-tutorial/issues/1). | ||
|
||
|
||
## Usage | ||
|
@@ -21,7 +21,7 @@ Then: | |
|
||
``` | ||
# If you haven't cloned this yet: | ||
git clone [email protected]:svthalia/hello-concrexit-tutorial.git | ||
git clone [email protected]:svthalia/miniconcrexit-tutorial.git | ||
# To install the dependencies: | ||
poetry install | ||
|
@@ -45,8 +45,8 @@ python website/manage.py runserver | |
> You do not have to do this yourself, this is just for reference. | ||
```bash | ||
mkdir hello-concrexit-tutorial | ||
cd hello-concrexit-tutorial | ||
mkdir miniconcrexit-tutorial | ||
cd miniconcrexit-tutorial | ||
git init | ||
|
||
poetry init | ||
|
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,9 +1,10 @@ | ||
[tool.poetry] | ||
name = "hello-concrexit-tutorial" | ||
name = "miniconcrexit" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Job Doesburg <[email protected]>"] | ||
description = "Small and unintimidating version of concrexit, for new people to try out." | ||
authors = ["Thalia Technicie <[email protected]>"] | ||
readme = "README.md" | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
|
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