Skip to content

Commit

Permalink
Update setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
trey committed Jul 12, 2023
1 parent 156edc5 commit a6e3575
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dev/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

# This is to initially set up a project. You probably don't need to
# ever run it again.
# This is to initially set up a new project from the Blaze.horse — Django Starter Kit

# Check for arguments
VERSION="main"
Expand Down Expand Up @@ -152,6 +151,12 @@ echo " entry: npx playwright test" >> .pre-commit-config.yaml
echo " files: \.(css|html|js)$" >> .pre-commit-config.yaml
echo " pass_filenames: false" >> .pre-commit-config.yaml

# Delete files related to the starter kit project itself
# These have no meaning on a generated project
rm .github/workflows/blaze-*
rm dev/setup.sh # Local version of this file
rm dev/test-build* # Scripts for testing project generation

# Warm up the database and static files
gum style --border normal --margin "1" --padding "0 2" --border-foreground 212 \
"Warming up $(gum style --foreground 212 'database') and $(gum style --foreground 212 'static files')"
Expand Down

0 comments on commit a6e3575

Please sign in to comment.