-
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.
chore(core): some cleanup (and messing about) before the real fun sta…
…rts (#3) * some cleanup before the real fun starts * add dev container readme * .. * still futzing * add CODEOWNERS * .. * update TODO
- Loading branch information
Showing
9 changed files
with
42 additions
and
19 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Corpora DevContainer | ||
|
||
This DevContainer setup provides a ready-to-use development environment with Docker Compose, Python 3.12, PostgreSQL, and zsh. | ||
|
||
## Features | ||
- **Python 3.12** with dependencies installed from `requirements.txt` | ||
- **PostgreSQL** service with environment variables for connection configuration | ||
- **Zsh** shell with custom history and useful aliases | ||
- **VS Code Customizations** for Python linting, formatting, and Docker integration | ||
|
||
## Usage | ||
1. **Open in VS Code:** Open this folder in VS Code, ensuring Docker is running. | ||
2. **Build & Connect:** The DevContainer will automatically build and connect to VS Code. | ||
3. **Run Commands:** Post-create setup (`setup.sh`) installs Zsh customizations. | ||
|
||
## Ports | ||
- **App:** 8000 | ||
- **Database:** 5432 | ||
|
||
## Notes | ||
- zsh customizations and Git configuration are persisted across sessions. |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/bash | ||
|
||
git config --global --add safe.directory /workspace | ||
sleep infinity | ||
# sleep infinity |
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,6 +1,8 @@ | ||
#!/bin/bash | ||
|
||
echo "starting zsh..." | ||
# random stuff ... hrm ... | ||
# echo "starting zsh..." | ||
echo 'autoload -Uz add-zsh-hook; append_history() { fc -W }; add-zsh-hook precmd append_history; export HISTFILE=/home/vscode/.corpora.zsh_history/.zsh_history' >> ~/.zshrc | ||
alias tree="tree -I '.venv|node_modules|__pycache__|.git|.pytest_cache' -a" | ||
# git config --global --add safe.directory /workspace | ||
zsh |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @skyl |
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