Files
full-stack-fastapi-template/scripts/dev-fsfp.sh

14 lines
335 B
Bash
Raw Normal View History

#! /usr/bin/env bash
# Exit in case of error
set -e
if [ ! -d ./full-stack-fastapi-postgresql ] ; then
echo "Run this script from outside the project, to generate a sibling dev-fsfp project with independent git"
exit 1
fi
rm -rf ./dev-fsfp
cookiecutter --no-input -f ./full-stack-fastapi-postgresql project_name="Dev FSFP"