Skip to content

Commit 3329033

Browse files
Merge pull request #25 from talgat-abdraimov/feature/make
changed update readme, added additional commands in make;
2 parents d2322f2 + abb045f commit 3329033

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/update-readme.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ jobs:
3737
git config user.name github-actions[bot]
3838
git config user.email github-actions[bot]@users.noreply.github.com
3939
echo "# ${{github.event.repository.name}} project :wave:" > README.md
40+
echo "---" >> README.md
41+
echo "## Usage" >> README.md
42+
echo "```bash" >> README.md
43+
echo "git clone [email protected]:${{github.event.repository.name}}.git" >> README.md
44+
echo "cd ${{github.event.repository.name}}" >> README.md
45+
echo "```" >> README.md
46+
echo "---" >> README.md
47+
echo "## build the project" >> README.md
48+
echo "```bash" >> README.md
49+
echo "make build" >> README.md
50+
echo "```" >> README.md
4051
git add README.md
4152
git commit -m "Changed README.md"
4253
git push

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ deps:
88
@uv pip compile -o requirements.txt requirements.in
99
@uv pip install -r requirements.txt
1010

11+
build:
12+
@echo "Building the server..."
13+
@docker compose build
14+
15+
up:
16+
@echo "Starting the server..."
17+
@docker compose up -d
18+
19+
stop:
20+
@echo "Stopping the server..."
21+
@docker compose stop
22+
23+
down:
24+
@echo "Stopping and removing the server..."
25+
@docker compose down --remove-orphans --volumes
26+
1127
ruff:
1228
# Run ruff checks
1329
ruff check --fix

0 commit comments

Comments
 (0)