Skip to content

Commit

Permalink
refactor: build directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanramoul committed Oct 25, 2024
1 parent 8c98405 commit 9001d92
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install: configure_commit_template

# Configure git commit template, this will help to write better commit messages
configure-commit-template:
git config --global commit.template $(realpath commit-template.txt)
git config --global commit.template $(realpath assets/commit-template.txt)

# Pre-commit hooks are useful to run some checks (usually linters) before committing the code to the repository
# It will help to keep the code clean and consistent, this commands sets up the pre-commit hooks
Expand All @@ -41,7 +41,7 @@ evaluate:

# Build the Docker image with the base dependencies
build-docker:
docker build --target lightning-base -t lightning-base .
docker build --target lightning-base -t lightning-base -f dev.Dockerfile .

# Build the Docker image and jump into the container to test a fresh environment (CPU)
dev-container-cpu: build-docker
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
[![pytorch](https://img.shields.io/badge/PyTorch_2.0+-ee4c2c?logo=pytorch&logoColor=white)](https://pytorch.org/get-started/locally/)
[![lightning](https://img.shields.io/badge/-Lightning_2.0+-792ee5?logo=pytorchlightning&logoColor=white)](https://pytorchlightning.ai/)
[![hydra](https://img.shields.io/badge/Config-Hydra_1.3-89b8cd)](https://hydra.cc/)
[![black](https://img.shields.io/badge/Code%20Style-Black-black.svg?labelColor=gray)](https://black.readthedocs.io/en/stable/)
[![isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/) <br>
[![Linter: Ruff](https://img.shields.io/badge/Linter-Ruff-brightgreen?style=flat-square)](https://github.com/charliermarsh/ruff)
<br>

Click on [<kbd>Use this template</kbd>](https://github.com/rayanramoul/ml-project-template/generate) to start your own project! or go to the [Documentation](https://rayanramoul.github.io/ml-project-template/) for more information.

Expand Down Expand Up @@ -201,7 +201,7 @@ If any struggle is encountered, the junior can refer to the provided examples in

For more information on how to contribute to this project, please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file.

## 🌟 Aknowledgements
## 🌟 Acknowledgements

This template was heavily inspired by great existing ones, like:

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ If any struggle is encountered, the junior can refer to the provided examples in

For more information on how to contribute to this project, please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file.

## 🌟 Aknowledgements
## 🌟 Acknowledgements

This template was heavily inspired by great existing ones, like:

Expand Down

0 comments on commit 9001d92

Please sign in to comment.