Skip to content

Commit

Permalink
ah, oops
Browse files Browse the repository at this point in the history
up vs start...
  • Loading branch information
joshuadavidthomas committed Aug 2, 2024
1 parent df2c744 commit 5a92ffc
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/django_twc_project/Justfile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ makemigrations *ARGS:
manage *COMMAND:
@just dj manage {{ COMMAND }}

# Start development server in foreground
server:
@just docker down
# Refresh local development environment
refresh:
@just docker stop
@just bootstrap
@just docker up
@just docker start

# Setup local development environment
setup:
Expand Down Expand Up @@ -103,6 +103,14 @@ shell CONTAINER="app" COMMAND="":
COMMAND="${COMMAND:-/bin/bash}"
just docker run {% raw %}{{ CONTAINER }}{% endraw %} "" $COMMAND

# Start local development environment in background
start:
@just docker start

# Stop local development environment
stop:
@just docker stop

# Follow the logs of all Docker containers, optionally specifying a container to focus on
tail *ARGS:
@just docker tail {{ ARGS }}
Expand All @@ -112,9 +120,9 @@ test:
@just py test
@just py coverage-html

# Start local development environment in background
# Start local development environment in foreground
up:
@just docker start
@just docker up

# Update local development environment
update:
Expand Down

0 comments on commit 5a92ffc

Please sign in to comment.